Skip to content

Commit eee9158

Browse files
authored
Merge pull request #256 from opendatacube/release-action
Add or clause to push to dockerhub section
2 parents ade0bfe + 6e8372a commit eee9158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
# Tag image if this is a tagged build
8888
# if not use a pseudo tag based on current tag,
8989
# number of commits since last tag and git hash
90-
- name: Push to DockerHub (master branch only)
91-
if: github.ref == 'refs/heads/master'
90+
- name: Push to DockerHub (master branch or tagged release only)
91+
if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/'
9292
run: |
9393
# figure out extra tag
9494
git fetch --prune --unshallow 2> /dev/null || true

0 commit comments

Comments
 (0)