Skip to content

Commit

Permalink
Adding tag filter and using proper env var
Browse files Browse the repository at this point in the history
  • Loading branch information
diemol committed Jul 19, 2020
1 parent 77a3ea5 commit 694f031
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name: Deploys
on:
push:
tags:
- 4.*

jobs:
build-and-test:
deploy:
# Skip job based on the commit message
if: contains(toJson(github.event.commits), '[skip ci]') == false
name: Deploy Docker images
Expand All @@ -26,7 +27,7 @@ jobs:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
- name: Deploy new images
run: VERSION="${TRAVIS_TAG}" make release
run: VERSION="${TAG}" make release
# - name: Deploy tag latest
# run: VERSION="${TRAVIS_TAG}" make tag_latest
# - name: Deploy release latest
Expand Down

0 comments on commit 694f031

Please sign in to comment.