Skip to content

Commit

Permalink
changed tag in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
weiwang0305 committed Apr 17, 2024
1 parent 78e1a7c commit 7878a0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./client
docker push $ECR_REGISTRY/$ECR_REPOSITORY/:client:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY/:client:$IMAGE_TAG" >> $GITHUB_OUTPUT
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:client ./client
docker push $ECR_REGISTRY/$ECR_REPOSITORY/:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY/:$IMAGE_TAG" >> $GITHUB_OUTPUT
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ jobs:
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./server
docker push $ECR_REGISTRY/$ECR_REPOSITORY/:server:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY/:server:$IMAGE_TAG" >> $GITHUB_OUTPUT
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:server ./server
docker push $ECR_REGISTRY/$ECR_REPOSITORY/:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY/:$IMAGE_TAG" >> $GITHUB_OUTPUT
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
Expand Down

0 comments on commit 7878a0a

Please sign in to comment.