Skip to content

Commit 694f031

Browse files
committed
Adding tag filter and using proper env var
1 parent 77a3ea5 commit 694f031

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ name: Deploys
33
on:
44
push:
55
tags:
6+
- 4.*
67

78
jobs:
8-
build-and-test:
9+
deploy:
910
# Skip job based on the commit message
1011
if: contains(toJson(github.event.commits), '[skip ci]') == false
1112
name: Deploy Docker images
@@ -26,7 +27,7 @@ jobs:
2627
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
2728
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
2829
- name: Deploy new images
29-
run: VERSION="${TRAVIS_TAG}" make release
30+
run: VERSION="${TAG}" make release
3031
# - name: Deploy tag latest
3132
# run: VERSION="${TRAVIS_TAG}" make tag_latest
3233
# - name: Deploy release latest

0 commit comments

Comments
 (0)