Skip to content

Commit

Permalink
Tag Jib images with branch name and PR # where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobEdding authored Nov 29, 2024
1 parent 4707631 commit 006c6be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/java-gradle-build-jib/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ runs:
tags: |
event=tag,type=semver,pattern={{version}}
event=push,type=raw,value=pipeline-${{ github.run_id }}-git-{{sha}},enable=${{ github.ref_type != 'tag' }}
event=pr,type=ref
event=branch,type=ref,enable=${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main' }}
flavor: |
latest=false
Expand Down

0 comments on commit 006c6be

Please sign in to comment.