Skip to content

Commit 7cdac25

Browse files
committed
Add ref_type=tag condition to push container
1 parent 39adf2c commit 7cdac25

File tree

1 file changed

+1
-0
lines changed
  • template/{% if git_platform=="github.com" %}.github{% endif %}/workflows

1 file changed

+1
-0
lines changed

template/{% if git_platform=="github.com" %}.github{% endif %}/workflows/ci.yml.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
packages: write
4444

4545
push_container:
46+
if: github.ref_type == 'tag'
4647
needs: [container, test]
4748
uses: ./.github/workflows/_push_container.yml
4849
permissions:

0 commit comments

Comments
 (0)