Skip to content

Commit

Permalink
Merge pull request #847 from USEPA/live-auth_json
Browse files Browse the repository at this point in the history
Update .gitlab-ci.yml
  • Loading branch information
msglover authored Oct 28, 2022
2 parents ba87e6c + 3a7b008 commit ed179ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ed179ba

Please sign in to comment.