Skip to content

Commit

Permalink
Fix IMAGE_PREFIX
Browse files Browse the repository at this point in the history
Signed-off-by: Masayuki Ishii <[email protected]>
  • Loading branch information
masa213f committed Jul 14, 2021
1 parent d938b77 commit 4369220
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
image:
name: Push images to quay.io
runs-on: ubuntu-20.04
env:
IMAGE_PREFIX: quay.io/cybozu/
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -19,8 +17,8 @@ jobs:
echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USER }} --password-stdin quay.io
- run: make setup
- run: make image
- run: make tag push IMAGE_TAG=${GITHUB_REF#refs/tags/v}
- run: make tag push IMAGE_TAG=latest
- run: make tag push IMAGE_PREFIX=quay.io/cybozu/ IMAGE_TAG=${GITHUB_REF#refs/tags/v}
- run: make tag push IMAGE_PREFIX=quay.io/cybozu/ IMAGE_TAG=latest
if: ${{ contains(github.ref, '-') }}
release:
name: Release on GitHub
Expand Down

0 comments on commit 4369220

Please sign in to comment.