From 3aed425020873a915e121b24f2a2ff85b8774e34 Mon Sep 17 00:00:00 2001 From: maurizio vitale Date: Tue, 27 Aug 2019 17:00:22 +0100 Subject: [PATCH] Run the docker push before --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b9451a95b8..625dfc9331 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,14 +24,14 @@ branches: stages: - name: Lint & Build Dist - name: Unit test - - name: Release on npm - if: type = push - - name: Check bundle - if: type = push - name: Deploy docker if: type = push - name: Update Rancher if: type = push + - name: Release on npm + if: type = push + - name: Check bundle + if: type = push - name: e2e Test - name: Deploy PR if: type = pull_request @@ -106,7 +106,7 @@ jobs: script: - TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh) - echo "Running the docker with tag" $TAG_VERSION - - ./lib/dist/cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION" --pathProject "$(pwd)" + - ./lib/dist/cli/bin/adf-cli docker-publish --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION" --pathProject "$(pwd)" - stage: Update Rancher script: - TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)