Add 'needs' values

This commit is contained in:
fredbcode 2021-05-03 17:18:45 +02:00
parent e260552553
commit 2cd6aa6676
2 changed files with 4 additions and 1 deletions

View File

@ -38,6 +38,7 @@ docker-hub-test-arm:
- export https_proxy=http://$CONTAINER_TEST_NAME:3128 && curl -k https://www.google.fr
variables:
HOSTNAME: squidpipeline
needs: ["docker-hub-build-arm"]
push-docker-hub-arm:
stage: Docker-hub-pushtag
@ -55,3 +56,4 @@ push-docker-hub-arm:
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
variables:
GIT_STRATEGY: none
needs: ["docker-hub-test-arm"]

View File

@ -33,6 +33,7 @@ docker-hub-test:
- export https_proxy=http://$CONTAINER_TEST_NAME:3128 && curl -k https://www.google.fr
variables:
HOSTNAME: squidpipeline
needs: ["docker-hub-build"]
push-docker-hub:
stage: Docker-hub-pushtag
@ -47,4 +48,4 @@ push-docker-hub:
- docker push $HUB_REGISTRY_IMAGE:$SQUID_VERSION
variables:
GIT_STRATEGY: none
needs: ["docker-hub-test"]