Skip to content

Commit

Permalink
Update aws.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
conorheffron authored Sep 16, 2024
1 parent 0488ce6 commit 5851215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ jobs:
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build --secret id=GIT_API_TOKEN,src="${{ secrets.GIT_API_TOKEN }}" -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
EXPORT "GIT_API_TOKEN=${{ secrets.GIT_API_TOKEN }}"
docker build --secret id=GIT_API_TOKEN,src=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
Expand Down

0 comments on commit 5851215

Please sign in to comment.