From 7f7b7624d32f47aafd36f566cac4a61e6600c25f Mon Sep 17 00:00:00 2001 From: ris-tlp Date: Mon, 26 Feb 2024 18:59:53 -0500 Subject: [PATCH] Testing if env working --- .github/workflows/ecrpush.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ecrpush.yaml b/.github/workflows/ecrpush.yaml index c984adc..7cd62ec 100644 --- a/.github/workflows/ecrpush.yaml +++ b/.github/workflows/ecrpush.yaml @@ -17,6 +17,7 @@ jobs: - name: Get ECR Repository URI run: | export REPOSITORY_NAME=$(aws ssm get-parameter --name "/config/observation-tracker/repository.name" --with-decryption --query Parameter.Value --output text) + echo $REPOSITORY_NAME - name: Login to Amazon ECR id: login-ecr-public @@ -29,5 +30,7 @@ jobs: IMAGE_TAG: '${{ github.sha }}' working-directory: api/ run: | + echo $IMAGE_TAG + echo $ECR_REGISTRY docker build -t $ECR_REGISTRY.dkr.ecr.us-east-1.amazonaws.com/$REPOSITORY_NAME . docker push $ECR_REGISTRY.dkr.ecr.us-east-1.amazonaws.com/$REPOSITORY_NAME