From 694f03195a4afedb49d34866112aac11eb8c314f Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Sun, 19 Jul 2020 19:56:29 +0200 Subject: [PATCH] Adding tag filter and using proper env var --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a8810ba2c..57e5a33b2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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