Skip to content

Commit

Permalink
add ref tag to ko build
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 25, 2022
1 parent 501f74c commit cb83e79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ko-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
go-version: 1.17
- uses: actions/checkout@v2
- uses: imjasonh/[email protected]
- run: KO_DOCKER_REPO=${DOCKER_REPO,,} ko publish --bare --platform all .
- run: KO_DOCKER_REPO=${DOCKER_REPO,,} ko publish --bare --tags ${{ github.ref_name }} --platform all .
env:
VERSION: ${{ github.ref_name }}-beta
ENCRYPTION_KEYS: ${{ secrets.ENCRYPTION_KEYS }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ko-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
go-version: 1.17
- uses: actions/checkout@v2
- uses: imjasonh/[email protected]
- run: KO_DOCKER_REPO=${DOCKER_REPO,,} ko publish --bare --platform all .
- run: KO_DOCKER_REPO=${DOCKER_REPO,,} ko publish --bare --tags ${{ github.ref_name }} --platform all .
env:
VERSION: ${{ github.ref_name }}
ENCRYPTION_KEYS: ${{ secrets.ENCRYPTION_KEYS }}
Expand Down

0 comments on commit cb83e79

Please sign in to comment.