Skip to content

Merge pull request #347 from SynBioDex/focus-in-module-fix #6

Merge pull request #347 from SynBioDex/focus-in-module-fix

Merge pull request #347 from SynBioDex/focus-in-module-fix #6

Workflow file for this run

name: Build Latest Backend Docker Image
defaults:
run:
working-directory: ./SBOLCanvasBackend
on:
push:
branches: [ final ]
workflow_dispatch:
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
- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push the image to Docker Hub
run: |
docker push synbiohub/sbolcanvas:backend