Skip to content

Commit

Permalink
build된 파일 위치 찾는 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoojin-An committed Sep 28, 2023
1 parent e3b8e79 commit 0278b93
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/prod-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
id: build
run: ./gradlew clean build -x test

deploy-prod:
name: Deploy-prod
runs-on: ubuntu-latest
environment: prod
needs: build-prod
steps:
- name: Checkout
uses: actions/checkout@v3
# deploy-prod:
# name: Deploy-prod
# runs-on: ubuntu-latest
# environment: prod
# needs: build-prod
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -83,7 +83,7 @@ jobs:
# push it to ECR so that it can
# be deployed to ECS.
docker build -f Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
find . -name *.jar
find / -name *.jar
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 0278b93

Please sign in to comment.