Skip to content

Commit f356894

Browse files
committed
fix: arm64 빌드 안정화 및 파일 확장자 통일
1 parent db9798b commit f356894

8 files changed

Lines changed: 10 additions & 4 deletions

File tree

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ id_rsa*
3939
Dockerfile
4040
.dockerignore
4141
docker/
42-
docker-compose*.yml
42+
docker-compose.yaml
4343
compose*.yaml
4444
compose*.yml
4545

.github/workflows/cd.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,8 @@ jobs:
7979
TARGET_USER: ${{ secrets.RASPI_TARGET_USER }}
8080
run: |
8181
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" --filter "reference=ghcr.io/wisoft-prepair/backend-java*" || true
82+
docker images 'ghcr.io/wisoft-prepair/backend-java*' --format '{{.ID}}' \
83+
| awk '!seen[\$0]++' \
84+
| tail -n +2 \
85+
| xargs -r docker rmi -f || true
8386
ENDSSH

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
- name: 코드 체크아웃
7676
uses: actions/checkout@v4
7777

78+
- name: QEMU 설정
79+
uses: docker/setup-qemu-action@v3
80+
7881
- name: Docker Buildx 설정
7982
uses: docker/setup-buildx-action@v3
8083

File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ logging:
99

1010
spring:
1111
application:
12-
name: interview-service
12+
name: prepair-backend-java-api
1313

1414
profiles:
1515
active: local

src/main/resources/logback-spring.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<configuration>
3-
<springProperty name="SERVICE_NAME" source="spring.application.name" defaultValue="prepair-api"/>
3+
<springProperty name="SERVICE_NAME" source="spring.application.name" defaultValue="prepair-backend-java-api"/>
44

55
<springProfile name="local">
66
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>

0 commit comments

Comments
 (0)