Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
pass GHCR_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
vladupshot committed Dec 28, 2023
1 parent 95aed50 commit 11c1002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_aws_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 11c1002

Please sign in to comment.