Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
songhaechan committed Oct 28, 2023
1 parent e80e3ad commit feb9b11
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit feb9b11

Please sign in to comment.