Merge pull request #297 from SynBioDex/angular-18-update #52
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 Docker Image | |
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@v2 | |
name: Checkout source code | |
- name: Build the Docker image | |
run: | | |
docker build . --tag synbiohub/sbolcanvas:latest | |
- 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:latest |