From 11c100235bdc0bc5a5292a7995e07533c5f62c5a Mon Sep 17 00:00:00 2001 From: vladupshot <154623109+vladupshot@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:51:38 +1300 Subject: [PATCH] pass GHCR_TOKEN --- .github/workflows/deploy_aws_staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_aws_staging.yml b/.github/workflows/deploy_aws_staging.yml index f6d3ab5..70b03aa 100644 --- a/.github/workflows/deploy_aws_staging.yml +++ b/.github/workflows/deploy_aws_staging.yml @@ -41,7 +41,7 @@ jobs: IMAGE_TAG: ${{ github.sha }} run: | # Build a docker container and push it to ECR so that it can be deployed to ECS. - docker build -f docker/Dockerfile --build-arg ghcr_token=${{ secrets.PUBLISH_PAT }} -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG . + docker build -f docker/Dockerfile --build-arg ghcr_token=${{ secrets.GHCR_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"