Skip to content

Commit

Permalink
[Feature] - Docker Push / Docker Build CI workflow ์ถ”๊ฐ€ (#14)
Browse files Browse the repository at this point in the history
* feat: ๋„์ปค ์ด๋ฏธ์ง€ build & push workflow ์ž‘์„ฑ

* fix: ๋„์ปค ์ด๋ฏธ์ง€ ํ—ˆ๋ธŒ์— ์ถ”๊ฐ€ํ•˜๋Š” ๊ณผ์ •์˜ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ
  • Loading branch information
Libienz authored Jul 15, 2024
1 parent 9bfe52e commit 4e100da
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/be-dev-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,14 @@ jobs:
- name: Build with Gradle
run: ./gradlew clean build

- name: Sign in Dockerhub
uses: docker/login-action@v1
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}

- name: Build the Docker image
run: docker build -f Dockerfile --no-cache -t touroot/touroot-api .
run: docker build -f ./Dockerfile --no-cache -t touroot/touroot-api .

- name: Push the Docker Image to Dockerhub
run: docker push touroot/touroot-api

0 comments on commit 4e100da

Please sign in to comment.