Skip to content

Commit

Permalink
update: artifact upload시 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoojin-An committed Oct 1, 2023
1 parent c04a8ee commit 87d898a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prod-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: jar-file
path: ls build/libs
path: build/libs/*

deploy-prod:
name: Deploy-prod
Expand All @@ -89,7 +89,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: jar-file
path: ls build/libs
path: build/libs/*.jar
# - name: Set artifact
# run: echo "artifact=$(ls ./build/libs)" >> $GITHUB_ENV

Expand All @@ -105,7 +105,6 @@ jobs:
ls -al
docker build -f Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
sudo find . -name katj-0.0.1-SNAPSHOT.jar
cp ${{env.artifact}} ./app.jar
ls -al
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 87d898a

Please sign in to comment.