Skip to content

Commit

Permalink
Tag images for branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Orochimarufan authored and anatol committed Nov 17, 2023
1 parent 64131af commit 41cd5ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ jobs:


merge_and_publish:
if: (github.ref == 'refs/heads/master') || (startsWith(github.ref, 'refs/tags/'))
runs-on: ubuntu-latest
needs:
- build
Expand Down Expand Up @@ -166,6 +165,8 @@ jobs:
tags: |
# tag tags with :tag
type=ref,event=tag
# tag branches with :branch
type=ref,event=branch
# tag default branch with :latest
type=raw,value=latest,enable={{is_default_branch}}
flavor: |
Expand Down

0 comments on commit 41cd5ae

Please sign in to comment.