-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e80e3ad
commit feb9b11
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,20 +44,27 @@ jobs: | |
run: ./gradlew build | ||
shell: bash | ||
|
||
# Docker 이미지 Build (2) | ||
- name: docker image build | ||
run: docker build -t haechansomg/simple-board . | ||
# Docker 이미지 Build | ||
- name: docker image build WAS-01 | ||
run: docker build -t haechansomg/simple-board:was01 ./dockerFile-was01 | ||
|
||
# DockerHub Login (3) | ||
- name: docker image build WAS-02 | ||
run: docker build -t haechansomg/simple-board2:was02 ./dockerFile-was02 | ||
|
||
# DockerHub Login | ||
- name: docker login | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
# Docker Hub push (4) | ||
- name: docker Hub push | ||
run: docker push haechansomg/simple-board | ||
# Docker Hub push | ||
- name: docker Hub push WAS-01 | ||
run: docker push haechansomg/simple-board:was01 | ||
|
||
# Docker Hub push | ||
- name: docker Hub push WAS-02 | ||
run: docker push haechansomg/simple-board2:was02 | ||
|
||
- name: Deploy to server | ||
uses: appleboy/[email protected] | ||
|