Merge branch 'master' into market-basket-analysis #192
This file contains hidden or 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: 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 |