From 0d5311085685777504770ce06348d138d9ed5301 Mon Sep 17 00:00:00 2001 From: Ilia Eriomenco <ilia.eriomenco@endava.com> Date: Thu, 1 Apr 2021 14:19:29 +0300 Subject: [PATCH] ci: add --build-arg instance_name=elife in eLife build --- .gitlab-ci.elife.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.elife.yml b/.gitlab-ci.elife.yml index 47dd88e139..43fba6832a 100644 --- a/.gitlab-ci.elife.yml +++ b/.gitlab-ci.elife.yml @@ -27,7 +27,7 @@ build: --cache-from $CI_REGISTRY_IMAGE:latest \ --tag $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA \ --tag $IMAGE_ORG/$IMAGE_NAME:latest . - docker build --file ./Dockerfile-ci --cache-from $IMAGE_ORG/$IMAGE_NAME-dev:latest --tag $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA --tag $IMAGE_ORG/$IMAGE_NAME-dev:latest . + docker build --build-arg instance_name=elife --file ./Dockerfile-ci --cache-from $IMAGE_ORG/$IMAGE_NAME-dev:latest --tag $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA --tag $IMAGE_ORG/$IMAGE_NAME-dev:latest . docker push $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA docker push $IMAGE_ORG/$IMAGE_NAME:latest docker push $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA -- GitLab