Skip to content

Merge branch 'master' into market-basket-analysis #192

Merge branch 'master' into market-basket-analysis

Merge branch 'master' into market-basket-analysis #192

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: |
docker build flask --file flask/docker/Dockerfile-source --tag myersresearchgroup/sbolexplorer:snapshot
docker build flask --file flask/docker/Dockerfile-source --build-arg EXPLORER_CONFIG=docker/config-synbiohub.json --tag myersresearchgroup/sbolexplorer:snapshot-synbiohub
docker run --rm --entrypoint python myersresearchgroup/sbolexplorer:snapshot-synbiohub -m unittest discover -s tests
- 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