Workflow file for this run
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: Build docker image on push to develop | |
on: | |
push: | |
branches: ["develop"] | |
pull_request: # for debug | |
branches: ["develop"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker image | |
run: docker build . -f Dockerfile -t ghcr.io/sparcs-kaist/zabo-front:dev | |
- name: Log in to DockerHub | |
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u USERNAME --password-stdin | |
- name: Push the Docker image | |
run: docker push ghcr.io/sparcs-kaist/zabo-front:dev |