From cdf0bd20886d31aed30182356f8936ccf2f8423c Mon Sep 17 00:00:00 2001 From: Steffen Graber Date: Wed, 24 Jan 2024 13:49:33 +0100 Subject: [PATCH] Upload to ebrains harbour --- ci-templates/000_3.6.gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci-templates/000_3.6.gitlab-ci.yml b/ci-templates/000_3.6.gitlab-ci.yml index 70310c2..2b5270e 100644 --- a/ci-templates/000_3.6.gitlab-ci.yml +++ b/ci-templates/000_3.6.gitlab-ci.yml @@ -23,9 +23,13 @@ Deploy_36: needs: ["Build_36"] rules: - when: on_success - script: + script: + - docker pull $DOCKER_REGISTRY_IMAGE:3.6.$CI_PIPELINE_ID + - docker tag $DOCKER_REGISTRY_IMAGE:3.6.$CI_PIPELINE_ID $DOCKER_REGISTRY_IMAGE:3.6 + - docker push $DOCKER_REGISTRY_IMAGE:3.6 - echo -n $DOCKERHUB_REGISTRY_TOKEN | docker login -u $DOCKERHUB_REGISTRY_USER --password-stdin - docker push nest/nest-simulator:3.6 - docker logout $DOCKERHUB_REGISTRY + - docker logout $DOCKER_REGISTRY_IMAGE tags: - shell-runner