Skip to content

Commit

Permalink
Merge pull request #13 from catchroom/develop
Browse files Browse the repository at this point in the history
Refact : CI/CD 테스트
  • Loading branch information
Parkgeonmoo authored Dec 25, 2023
2 parents 9d7a461 + 0fa33b9 commit f8c0908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
java-version: 17
distribution: 'adopt' # or 'temurin' or 'zulu'


- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -38,6 +38,6 @@ jobs:
ECR_REPOSITORY: catchroom
run: |
docker build -t tag_name .
docker tag image_name ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest
docker tag image_name ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ github.sha }}
docker tag tag_name ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest
docker tag tag_name ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ github.sha }}
docker push ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }} --all-tags

0 comments on commit f8c0908

Please sign in to comment.