From beab1165e057860556108e02f96d550f81c2c419 Mon Sep 17 00:00:00 2001 From: Shahzad Chaudhry Date: Wed, 6 Dec 2023 17:07:37 +0000 Subject: [PATCH] NIT-990 Using updated action variables and secrets --- .github/workflows/cloud-platform-build-push-share.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cloud-platform-build-push-share.yml b/.github/workflows/cloud-platform-build-push-share.yml index 0613121..4a13719 100644 --- a/.github/workflows/cloud-platform-build-push-share.yml +++ b/.github/workflows/cloud-platform-build-push-share.yml @@ -20,8 +20,8 @@ jobs: - name: Configure aws credentials for ECR uses: aws-actions/configure-aws-credentials@v4.0.1 with: - role-to-assume: ${{ secrets.ECR_ROLE_TO_ASSUME }} - aws-region: ${{ vars.ECR_REGION }} + role-to-assume: ${{ secrets.SHARE_ECR_ROLE_TO_ASSUME }} + aws-region: ${{ vars.SHARE_ECR_REGION }} - name: ECR login uses: aws-actions/amazon-ecr-login@v2 @@ -37,5 +37,5 @@ jobs: docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG env: REGISTRY: ${{ steps.login-ecr.outputs.registry }} - REPOSITORY: ${{ vars.ECR_REPOSITORY }} + REPOSITORY: ${{ vars.SHARE_ECR_REPOSITORY }} IMAGE_TAG: ${{ github.sha }}