From af9e6a90b98ab6c600eac9416084b39bdc237ac9 Mon Sep 17 00:00:00 2001 From: Matej Sima Date: Wed, 25 Sep 2019 13:11:10 +0200 Subject: [PATCH] Move docker publishing and testing to script instead of after_script in the CI --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff385a1ce..85e38064e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -97,8 +97,8 @@ build-current-docker-image: stage: build_docker <<: *docker <<: *docker_build - after_script: - - scripts/test_cli.sh + script: + - sh scripts/test_cli.sh except: - master - dev @@ -109,7 +109,7 @@ build-and-publish-latest-docker-image: stage: build_and_deploy_docker <<: *docker <<: *docker_build - after_script: + script: - docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD - sh scripts/test_cli.sh - docker push $LIGO_REGISTRY_IMAGE:next