We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ade0bfe + 6e8372a commit eee9158Copy full SHA for eee9158
.github/workflows/main.yml
@@ -87,8 +87,8 @@ jobs:
87
# Tag image if this is a tagged build
88
# if not use a pseudo tag based on current tag,
89
# number of commits since last tag and git hash
90
- - name: Push to DockerHub (master branch only)
91
- if: github.ref == 'refs/heads/master'
+ - name: Push to DockerHub (master branch or tagged release only)
+ if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/'
92
run: |
93
# figure out extra tag
94
git fetch --prune --unshallow 2> /dev/null || true
0 commit comments