Skip to content

Commit

Permalink
Attempt to fix a conditional push to docker image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Rønningen committed Apr 20, 2020
1 parent 8057597 commit 56582f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
dockerfile: Dockerfile
build_extra_args: "--compress=true"

- name: Push docker image for version tagged commits
if: startsWith(github.ref, 'v')
run: |
echo "I should now push a tagged version: ${{ github.ref }}"
# - name: Push docker image for version tagged commits
# if: startsWith(${{ github.ref }}, 'v')
# env:
Expand Down

0 comments on commit 56582f2

Please sign in to comment.