From 938d7093c22acbd35c904b1ed73e13972e97b835 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Tue, 26 Mar 2024 15:22:58 -0400 Subject: [PATCH] add build arg to yml files --- .github/workflows/build-production.yaml | 1 + .github/workflows/build-qa.yml | 1 + CHANGELOG.md | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/build-production.yaml b/.github/workflows/build-production.yaml index 70239ed6..2ef05caf 100644 --- a/.github/workflows/build-production.yaml +++ b/.github/workflows/build-production.yaml @@ -74,6 +74,7 @@ jobs: NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }} run: | docker build --build-arg airtable_api_key=$AIRTABLE_KEY -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \ + --build-arg APP_ENV=$APP_ENV \ --build-arg NEW_RELIC_APP_NAME="Digital Research Books (PROD)" \ --build-arg NEW_RELIC_LICENSE_KEY=$NEW_RELIC_LICENSE_KEY \ --build-arg NEXT_PUBLIC_ADOBE_ANALYTICS="https://assets.adobedtm.com/1a9376472d37/8519dfce636d/launch-672b7e7f98ee.min.js" . diff --git a/.github/workflows/build-qa.yml b/.github/workflows/build-qa.yml index 423def7e..14b423ed 100644 --- a/.github/workflows/build-qa.yml +++ b/.github/workflows/build-qa.yml @@ -42,6 +42,7 @@ jobs: NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }} run: | docker build --build-arg airtable_api_key=$AIRTABLE_KEY -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG \ + --build-arg APP_ENV=$APP_ENV \ --build-arg NEW_RELIC_APP_NAME="Digital Research Books (QA)" \ --build-arg NEW_RELIC_LICENSE_KEY=$NEW_RELIC_LICENSE_KEY \ --build-arg NEXT_PUBLIC_ADOBE_ANALYTICS="https://assets.adobedtm.com/1a9376472d37/8519dfce636d/launch-bf8436264b01-development.min.js" . diff --git a/CHANGELOG.md b/CHANGELOG.md index 9784e844..13b1c62a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [Pre-release] - SFR-1917: Fixed failing Playwright tests +- Add APP_ENV build arg in yml file ## [0.18.0]