From 317e20903b41fbcafa996fed5bb25aee951c1a8c Mon Sep 17 00:00:00 2001 From: Conor Heffron Date: Mon, 16 Sep 2024 02:08:31 +0100 Subject: [PATCH] Update aws.yml --- .github/workflows/aws.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws.yml b/.github/workflows/aws.yml index dbd288b..1b5f94d 100644 --- a/.github/workflows/aws.yml +++ b/.github/workflows/aws.yml @@ -55,7 +55,7 @@ jobs: # Build a docker container and # push it to ECR so that it can # be deployed to ECS. - GIT_API_TOKEN=$GIT_API_TOKEN docker build --secret id=GIT_API_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . + docker build --secret id=GIT_API_TOKEN,env=GIT_API_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT