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