From eb746ea375f4c70eed561837760755ed534b7a59 Mon Sep 17 00:00:00 2001 From: timam Date: Thu, 16 May 2024 17:07:37 +0600 Subject: [PATCH] try different way --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4ef67cc..6682fd8 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -25,5 +25,5 @@ jobs: - name: Build, tag, and push image to Amazon ECR run: | cd demo/lambda/src - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA -f Dockerfile . - docker push $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA \ No newline at end of file + docker build -t ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:$GITHUB_SHA -f Dockerfile . + docker push ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:$GITHUB_SHA \ No newline at end of file