Update github workflows for backend docker container #2
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 Latest Backend Docker Image | |
defaults: | |
run: | |
working-directory: ./SBOLCanvasBackend | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- final | |
jobs: | |
build-and-push: | |
name: Build image and push to Docker Hub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout source code | |
- name: Build the Docker image | |
run: | | |
docker build . --tag synbiohub/sbolcanvas:backend |