[DevOps] CD 구축을 위한 Github Action 테스트 #5
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
name: Docker 배포 | |
on: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
job1: | |
name: Docker 환경 빌드 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 체크아웃 | |
uses: actions/checkout@v3 | |
- name: DockerHub 로그인 | |
uses: docker/[email protected] | |
with: | |
username: ${{secrets.DOCKERHUB_USERNAME}} | |
password: ${{secrets.DOCKERHUB_PASSWORD}} |