Skip to content

update DockerFile to make sure container working #149

update DockerFile to make sure container working

update DockerFile to make sure container working #149

Workflow file for this run

name: Run release
on: push
jobs:
build-docker:
runs-on: ubuntu-latest
name: Build and publish docker image
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: |
cd flask/docker
docker build . --file Dockerfile --tag myersresearchgroup/sbolexplorer:snapshot
docker build . --file Dockerfile-synbiohub --tag myersresearchgroup/sbolexplorer:snapshot-synbiohub
- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push the image to Docker Hub
run: |
docker push myersresearchgroup/sbolexplorer:snapshot
docker push myersresearchgroup/sbolexplorer:snapshot-synbiohub