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 14, 2024
1 parent 1cbbdb9 commit 03e302e
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 @@ -11,6 +11,7 @@ env:
ECS_CLUSTER: IronocPortfolioCluster
ECS_TASK_DEFINITION: .aws/task-definition.json
CONTAINER_NAME: ironoc
GIT_API_TOKEN: ${{ secrets.GIT_API_TOKEN }}

permissions:
contents: read
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build --build-arg secret=${{ secrets.GIT_API_TOKEN }} -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .s
docker build --build-arg secret=$GIT_API_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .s
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 03e302e

Please sign in to comment.