From 2cd6aa667621ee93650759877616b71361aef10a Mon Sep 17 00:00:00 2001 From: fredbcode Date: Mon, 3 May 2021 17:18:45 +0200 Subject: [PATCH] Add 'needs' values --- gitlabci/docker-hub-arm.yml | 2 ++ gitlabci/docker-hub.yml | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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"]