Skip to content

Commit

Permalink
ci(workflow): added custom tagging logic
Browse files Browse the repository at this point in the history
  • Loading branch information
arhamj committed Oct 21, 2024
1 parent 2d51bdd commit a1c4f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=sha,format=short
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
Expand Down

0 comments on commit a1c4f7b

Please sign in to comment.