Skip to content

Commit

Permalink
Merge pull request #256 from opendatacube/release-action
Browse files Browse the repository at this point in the history
Add or clause to push to dockerhub section
  • Loading branch information
pindge authored Apr 30, 2020
2 parents ade0bfe + 6e8372a commit eee9158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:
# Tag image if this is a tagged build
# if not use a pseudo tag based on current tag,
# number of commits since last tag and git hash
- name: Push to DockerHub (master branch only)
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/'
run: |
# figure out extra tag
git fetch --prune --unshallow 2> /dev/null || true
Expand Down

0 comments on commit eee9158

Please sign in to comment.