Skip to content

Commit

Permalink
chore: Docker Yml 파일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jaewoong2 committed Mar 29, 2024
1 parent 6522785 commit bab503d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-ncp-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
password: ${{ secrets.DEPLOYMENT_PASSWORD }}
port: ${{ secrets.DEPLOYMENT_PORT }}
script: |
docker login -u ${{ secrets.NCP_ACCESS_KEY }} --password-stdin ${{ secrets.NCP_SECRET_KEY }} ${{ secrets.NCP_CONTAINER_REGISTRY }}
docker login -u ${{ secrets.NCP_ACCESS_KEY }} -p ${{ secrets.NCP_SECRET_KEY }} ${{ secrets.NCP_CONTAINER_REGISTRY }}
docker pull ${{ secrets.NCP_CONTAINER_REGISTRY }}/tag-name
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ out/

### VS Code ###
.vscode/


.env.*
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN chmod +x gradlew
RUN ./gradlew clean build

# CMD ["./gradlew", "clean", "build"]
RUN ls ./build -R
# Assuming build is successful, copy the JAR file to the root
ARG JAR_FILE=./build/libs/*.jar
RUN cp ${JAR_FILE} /app.jar
Expand Down

0 comments on commit bab503d

Please sign in to comment.