From 3a7b008ec9b1471a5a45fb0bebf5da0bdf2a3003 Mon Sep 17 00:00:00 2001 From: msglover Date: Fri, 28 Oct 2022 14:58:55 -0400 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b21d10034c..54a4344986 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -287,9 +287,7 @@ variables: - mkdir -p /kaniko/.docker - echo '{"credsStore":"ecr-login"}' >/kaniko/.docker/config.json - echo $WEBCMS_REPO_URL/webcms-$WEBCMS_ENVIRONMENT-$WEBCMS_SITE-$WEBCMS_TARGET:$WEBCMS_IMAGE_TAG - - cd $CI_PROJECT_DIR/services/drupal - - cp $auth_json auth.json - + #region Image builds # We build Drupal-based images using another parallel:matrix: to cut down on the repetition @@ -325,6 +323,7 @@ build:drupal: # instructions. According to the Kaniko documentation, "[i]n some cases, this may # improve build performance by 75%". script: + - cp $auth_json $CI_PROJECT_DIR/services/drupal/auth.json - /kaniko/executor $KANIKO_CACHE_ARGS --skip-unused-stages @@ -418,7 +417,7 @@ copy:cloudwatch:dev: # Build custom Traefik image based off the 2.4 tag. Use latest tag(Keep this as "latest" Traefik tag mentions found # in terraform/infrastructure/traefik_service.tf and .buildkite/infrastructure.yml.) -build:traefik:dev: +.build:traefik:dev: extends: .kaniko stage: infrastructure_preprod_build rules: