Skip to content

Commit

Permalink
Use latest tag for default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-kraemer committed Nov 12, 2024
1 parent c5a8bf4 commit b41bbca
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 @@ -36,6 +36,9 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=tag,enable=true
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
Expand Down

0 comments on commit b41bbca

Please sign in to comment.