From a6d1cf3eec8666a6b4dd8630ab622ec38abafb63 Mon Sep 17 00:00:00 2001 From: Arachneee Date: Thu, 18 Jul 2024 14:41:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ci/cd=20=EB=94=94=ED=8F=B4=ED=8A=B8=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend-push.yml | 10 ++++------ server/src/main/java/server/haengdong/domain/CiCd.java | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/backend-push.yml b/.github/workflows/backend-push.yml index fba9a2e13..065e57a17 100644 --- a/.github/workflows/backend-push.yml +++ b/.github/workflows/backend-push.yml @@ -12,6 +12,7 @@ jobs: defaults: run: + shell: bash working-directory: ./server permissions: @@ -41,12 +42,9 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/build-push-action@v6 - with: - push: true - file: ./Dockerfile - tags: ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev - platforms: linux/arm64 + run: | + docker buildx build ./ --platform=linux/arm64 -t ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev + docker push ${{ secrets.DOCKER_USERNAME }}/haengdong-backend-dev deploy: needs: build diff --git a/server/src/main/java/server/haengdong/domain/CiCd.java b/server/src/main/java/server/haengdong/domain/CiCd.java index 1807248b6..3e8ae718b 100644 --- a/server/src/main/java/server/haengdong/domain/CiCd.java +++ b/server/src/main/java/server/haengdong/domain/CiCd.java @@ -2,5 +2,4 @@ public class CiCd { - }