From 716f6946107398cbbc97a9aa53bb4be16d59cd31 Mon Sep 17 00:00:00 2001 From: Adenn Tumba Date: Thu, 19 Dec 2024 15:48:21 -0300 Subject: [PATCH] fix-pull access denied --- .github/workflows/build-commerce-webapp-push-tag-shared.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-commerce-webapp-push-tag-shared.yaml b/.github/workflows/build-commerce-webapp-push-tag-shared.yaml index 76165ad..dee8cb1 100644 --- a/.github/workflows/build-commerce-webapp-push-tag-shared.yaml +++ b/.github/workflows/build-commerce-webapp-push-tag-shared.yaml @@ -39,7 +39,8 @@ jobs: VERSION="${TAG}" echo "VERSION=${VERSION}" | tee -a "${GITHUB_ENV}" echo "COMMIT_SHA=$COMMIT_SHA" | tee -a "${GITHUB_ENV}" - echo "IMAGE_TAG=${{ secrets.ECR }}/commerce:webapp-${TAG}" | tee -a "${GITHUB_ENV}" + echo "IMAGE_TAG=${{ secrets.ECR }}/commerce:webapp-${TAG}" | tee -a "${GITHUB_ENV}" + echo "OLD_IMAGE=${{ secrets.ECR }}/commerce:webapp-${MANIFESTS_ENVIRONMENT}" | tee -a "${GITHUB_ENV}" echo "IMAGE_SOURCE_URL=https://github.com/weni-ai/commerce-webapp" | tee -a "${GITHUB_ENV}" echo "MANIFESTS_REPOSITORY=weni-ai/kubernetes-manifests-hermes" | tee -a "${GITHUB_ENV}" echo "MANIFESTS_APPLICATION=commerce-webapp" | tee -a "${GITHUB_ENV}"