disable upload step for now

This commit is contained in:
ILoveYaToo 2020-04-17 02:30:20 -04:00
parent 463fe6fd46
commit c5ce309f6c

View File

@ -50,18 +50,18 @@ test-docker-alpine:
- cd alpine
- docker-compose rm -sfv
upload-images:
stage: upload
script:
- docker load -i ubuntu/postal-ubuntu-container.tar
- docker load -i alpine/postal-alpine-container.tar
- docker tag catdeployed/postal:alpine catdeployed/postal:latest
- docker login -u$DOCKER_USER -p$DOCKER_PASS
- docker push catdeployed/postal:alpine
- docker push catdeployed/postal:ubuntu
- docker push catdeployed/postal:latest
only:
- master@CatDeployed/docker-postal
#upload-images:
# stage: upload
# script:
# - docker load -i ubuntu/postal-ubuntu-container.tar
# - docker load -i alpine/postal-alpine-container.tar
# - docker tag catdeployed/postal:alpine catdeployed/postal:latest
# - docker login -u$DOCKER_USER -p$DOCKER_PASS
# - docker push catdeployed/postal:alpine
# - docker push catdeployed/postal:ubuntu
# - docker push catdeployed/postal:latest
# only:
# - master@CatDeployed/docker-postal
after_script:
- docker container prune -f
- docker image prune -f