Use proper labels for plotting if IDs are available in ReturnData (#… #1032
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: Deploy Protected | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- release** | |
pull_request: | |
paths: | |
- container/Dockerfile | |
# ensure all relevant files are still included in sdist | |
- python/sdist/MANIFEST.in | |
workflow_dispatch: | |
jobs: | |
dockerhub: | |
# https://github.com/marketplace/actions/publish-docker | |
name: Deploy Dockerhub | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/checkout@v3 | |
- run: git archive -o container/amici.tar.gz --format=tar.gz HEAD | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Publish to Registry | |
uses: elgohr/Publish-Docker-Github-Action@v4 | |
with: | |
name: dweindl/amici | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
workdir: container/ | |
dockerfile: Dockerfile | |
tag_names: true | |
platforms: linux/amd64,linux/arm64 |