We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 581dc91 commit 62db6dfCopy full SHA for 62db6df
2 files changed
.github/workflows/cd.yaml
@@ -79,5 +79,5 @@ jobs:
79
TARGET_USER: ${{ secrets.RASPI_TARGET_USER }}
80
run: |
81
ssh -o StrictHostKeyChecking=no -o ProxyJump=$JUMP_USER@$JUMP_HOST:$JUMP_PORT $TARGET_USER@$TARGET_HOST /bin/bash << ENDSSH
82
- docker image prune -af --filter "until=72h" || true
+ docker image prune -af --filter "until=72h" --filter "reference=ghcr.io/wisoft-prepair/backend-java*" || true
83
ENDSSH
Dockerfile
@@ -34,7 +34,7 @@ EXPOSE 7300
34
35
# 컨테이너 레벨 헬스체크 (Docker daemon의 status 표시용)
36
HEALTHCHECK --interval=24h --timeout=10s --start-period=40s --retries=3 \
37
- CMD curl -sf http://localhost:7300/health || exit 1
+ CMD curl -sf http://localhost:7300/actuator/health || exit 1
38
39
# 실행
40
ENTRYPOINT ["java", "-jar", "app.jar"]
0 commit comments