Fix ipygsl install (#266) #13
Workflow file for this run
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: Docker Images CI | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| pull_request_target: | |
| branches: [ master ] | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| build-dev: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build DEV Docker image | |
| run: | | |
| docker build ./src/dev --tag nest/nest-simulator:latest | |
| - name: Check NEST dev | |
| run: | | |
| docker run --rm nest/nest-simulator:latest python3 -c "import nest" | grep "Version:" | |
| - name: Push DEV to Docker Hub | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: ./src/dev | |
| push: true | |
| tags: nest/nest-simulator:dev | |
| env: | |
| DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |
| build-3-9: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Build 3.9 Docker image | |
| run: | | |
| docker build ./src/3.9 --tag nest/nest-simulator:3.9 | |
| - name: Check NEST 3.9 | |
| run: | | |
| docker run --rm nest/nest-simulator:3.9 python3 -c "import nest" | grep "Version:" | |
| - name: Push 3.9 to Docker Hub | |
| uses: docker/build-push-action@v5 | |
| with: | |
| context: ./src/3.9 | |
| push: true | |
| tags: nest/nest-simulator:3.9 | |
| env: | |
| DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} | |
| DOCKER_HUB_ACCESS_TOKEN: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | |