From ede8b6f28622253b061672c2e4d096d79a26dfe6 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Wed, 20 Mar 2024 13:00:06 -0400 Subject: [PATCH] add .env context for ecr tag --- .github/workflows/build-staging-and-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-staging-and-deploy.yml b/.github/workflows/build-staging-and-deploy.yml index 8683a03a6..21eb75247 100644 --- a/.github/workflows/build-staging-and-deploy.yml +++ b/.github/workflows/build-staging-and-deploy.yml @@ -67,8 +67,8 @@ jobs: tags: | infisical/staging_infisical:${{ steps.commit.outputs.short }} infisical/staging_infisical:latest - $ECR_REGISTRY/$ECR_REPOSITORY:latest - $ECR_REGISTRY/$ECR_REPOSITORY:${{ steps.commit.outputs.short }} + ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest + ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ steps.commit.outputs.short }} platforms: linux/amd64,linux/arm64 build-args: | POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}