Skip to content

Commit

Permalink
ci: add latest tag to main branch docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyDjemai committed Nov 12, 2024
1 parent 1d341cd commit d39e5d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
Expand Down

0 comments on commit d39e5d4

Please sign in to comment.