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 62df49a commit 9f9d4a6
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: echo "COMMIT_HASH=${{ github.event.inputs.commitHash }}" >> $GITHUB_ENV
run: echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> "$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:${{ github.event.inputs.commitHash }}
tags: quay.io/eclipse/che-tls-secret-creator:${{ env.COMMIT_HASH }}
push: true

0 comments on commit 9f9d4a6

Please sign in to comment.