Skip to content

Commit

Permalink
add :latest docker tag for default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Aug 28, 2024
1 parent ef5aba4 commit 01ae43f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=raw,value=latest
# set latest tag for default branch (works when default is main instead of master)
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 01ae43f

Please sign in to comment.