diff --git a/gitlabci/docker-hub-arm.yml b/gitlabci/docker-hub-arm.yml index 888a0b0..5707898 100644 --- a/gitlabci/docker-hub-arm.yml +++ b/gitlabci/docker-hub-arm.yml @@ -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"] diff --git a/gitlabci/docker-hub.yml b/gitlabci/docker-hub.yml index 26c5301..f0efacf 100644 --- a/gitlabci/docker-hub.yml +++ b/gitlabci/docker-hub.yml @@ -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"]