Skip to content

Commit

Permalink
fix(ci): docker 태그 명렁어 오타 수정 (#73)
Browse files Browse the repository at this point in the history
개요

- docker 빌드 시에 멀티 태그를 달을 때는 -t가 하나 더 있어야하는데
빠졌다. 따라서 수정해주자
  • Loading branch information
seungholee-dev authored Apr 12, 2024
1 parent cd814df commit 93dbde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
ECR_REPOSITORY: dife-ecr
IMAGE_TAG: ${{ github.sha }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest ./rest-api
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -t $ECR_REGISTRY/$ECR_REPOSITORY:latest ./rest-api
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
Expand Down

0 comments on commit 93dbde0

Please sign in to comment.