diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7bfc27a25f6a951379cd6649af2b5425a77c736..09c637a2ac911e3612f5a9b2addde82654a9ca2e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,5 @@ stages: - build - - deploy image: docker:19.03.1 @@ -29,15 +28,3 @@ build_nginx: - docker pull $CI_REGISTRY_IMAGE:test-nginx || true - docker build --cache-from $CI_REGISTRY_IMAGE:test-nginx -t $IMAGE_TAG_NGINX . -f Dockerfile.nginx - docker push $IMAGE_TAG_NGINX - -deploy_app: - stage: deploy - when: manual - script: - - docker run -e SWARMPIT_API_URL=$SWARMPIT_API_URL -e SWARMPIT_TOKEN=$SWARMPIT_TOKEN docker-registry.pirati.cz/to/swarmpit-deploy:master $IMAGE_TAG_APP - -deploy_nginx: - stage: deploy - when: manual - script: - - docker run -e SWARMPIT_API_URL=$SWARMPIT_API_URL -e SWARMPIT_TOKEN=$SWARMPIT_TOKEN docker-registry.pirati.cz/to/swarmpit-deploy:master $IMAGE_TAG_NGINX