Skip to content

Commit d70a121

Browse files
committed
♻️ chore: ci 띄어쓰기 수정
1 parent 5b3b048 commit d70a121

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -47,33 +47,33 @@ jobs:
4747
name: app-jar
4848
path: build/libs/*.jar
4949

50-
docker-push:
51-
name: Docker Build & Push
52-
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
53-
needs: build
54-
runs-on: ubuntu-latest
50+
docker-push:
51+
name: Docker Build & Push
52+
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
53+
needs: build
54+
runs-on: ubuntu-latest
5555

56-
steps:
57-
- name: Checkout
58-
uses: actions/checkout@v4
56+
steps:
57+
- name: Checkout
58+
uses: actions/checkout@v4
5959

60-
- name: Download JAR artifact
61-
uses: actions/download-artifact@v4
62-
with:
63-
name: app-jar
64-
path: build/libs
60+
- name: Download JAR artifact
61+
uses: actions/download-artifact@v4
62+
with:
63+
name: app-jar
64+
path: build/libs
6565

66-
- name: Login to Docker Hub
67-
uses: docker/login-action@v3
68-
with:
69-
username: ${{ secrets.DOCKER_USERNAME }}
70-
password: ${{ secrets.DOCKER_PASSWORD }}
66+
- name: Login to Docker Hub
67+
uses: docker/login-action@v3
68+
with:
69+
username: ${{ secrets.DOCKER_USERNAME }}
70+
password: ${{ secrets.DOCKER_PASSWORD }}
7171

72-
- name: Build & Push image
73-
uses: docker/build-push-action@v6
74-
with:
75-
context: .
76-
push: true
77-
tags: |
78-
${{ env.IMAGE }}:latest
79-
${{ env.IMAGE }}:${{ github.sha }}
72+
- name: Build & Push image
73+
uses: docker/build-push-action@v6
74+
with:
75+
context: .
76+
push: true
77+
tags: |
78+
${{ env.IMAGE }}:latest
79+
${{ env.IMAGE }}:${{ github.sha }}

0 commit comments

Comments
 (0)