docs: README 업데이트 #84
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: github_actions_ci | |
on: | |
push: | |
branches: ["dev"] | |
paths-ignore: | |
- 'frontend/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dockerhub Login | |
env: | |
DOCKER_USERNAME: ${{secrets.DOCKERHUB_USERNAME}} | |
DOCKER_PASSWORD: ${{secrets.DOCKERHUB_TOKEN}} | |
run: docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD | |
- name: Build Docker image | |
run: docker build -t boarlog-backend ./backend | |
- name: taging | |
run: docker tag boarlog-backend:latest ${{secrets.DOCKERHUB_USERNAME}}/boarlog-backend:latest | |
- name: push to Dockerhub | |
run: docker push ${{secrets.DOCKERHUB_USERNAME}}/boarlog-backend:latest |