Skip to content

Commit

Permalink
Tag image with hash instead of next
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Nov 29, 2024
1 parent 8c49f59 commit 62df49a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
registry: quay.io
- name: Check existing tags
run: export COMMIT_HASH=$(git rev-parse --short HEAD)
run: echo "COMMIT_HASH=${{ github.event.inputs.commitHash }}" >> $GITHUB_ENV
- name: Build images
uses: docker/build-push-action@v3
with:
file: Dockerfile
platforms: linux/amd64,linux/ppc64le,linux/arm64
tags: quay.io/eclipse/che-tls-secret-creator:${{ env.COMMIT_HASH }}
tags: quay.io/eclipse/che-tls-secret-creator:${{ github.event.inputs.commitHash }}
push: true

0 comments on commit 62df49a

Please sign in to comment.