Skip to content

Commit

Permalink
set sha in tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rp-thomas committed Oct 21, 2024
1 parent 3543b68 commit ef42f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
# dynamically set the branch name as a prefix
type=sha,prefix={{branch}}-
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit ef42f22

Please sign in to comment.