From c41d5830839947d36e0b44d80d25cef5b753d850 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Fri, 8 Sep 2023 13:27:48 -0400 Subject: [PATCH 1/3] add unique production image tag --- .github/workflows/build-production.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-production.yaml b/.github/workflows/build-production.yaml index 1725cada..090718a4 100644 --- a/.github/workflows/build-production.yaml +++ b/.github/workflows/build-production.yaml @@ -77,8 +77,8 @@ jobs: --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" . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest - docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest + docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:production-latest + docker push $ECR_REGISTRY/$ECR_REPOSITORY:production-latest - name: Force ECS Update run: | From e2d264711744170009066eb76f67c17ddc4edbf2 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Fri, 8 Sep 2023 13:29:51 -0400 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0179393..fe1fc52e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGE LOG +- Update production build to use unique ECR image tag + ## [0.17.4] - Add id as subsection for "Read Online" CTA analytics tracking From 3baa93c7a083a8401366994574eef460ba80e0b2 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Fri, 8 Sep 2023 14:09:54 -0400 Subject: [PATCH 3/3] update qa build file --- .github/workflows/build-qa.yml | 4 ++-- CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-qa.yml b/.github/workflows/build-qa.yml index f22fb65d..3e05b4d6 100644 --- a/.github/workflows/build-qa.yml +++ b/.github/workflows/build-qa.yml @@ -45,8 +45,8 @@ jobs: --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" . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest - docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest + docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:qa-latest + docker push $ECR_REGISTRY/$ECR_REPOSITORY:qa-latest - name: Force ECS Update run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index fe1fc52e..6952d85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGE LOG -- Update production build to use unique ECR image tag +- Update production and qa builds to use unique ECR image tag ## [0.17.4]