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 92e62d1 commit 1cbbdb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ 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 @@ -55,7 +54,7 @@ jobs:
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build --build-arg secret=$GIT_API_TOKEN -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .s
docker build --build-arg secret=${{ secrets.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 1cbbdb9

Please sign in to comment.