Nightly building and pushing of many implementations head (#85) #6
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-sagittarius-push-action | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| paths: | |
| - implementations/sagittarius/**/Dockerfile | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@v2 | |
| - | |
| name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v1 | |
| - | |
| name: Login to DockerHub | |
| uses: docker/login-action@v1 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - | |
| name: Build and push schemers/sagittarius:0 | |
| uses: docker/build-push-action@v2 | |
| with: | |
| push: true | |
| context: implementations/sagittarius/0/ | |
| tags: | | |
| schemers/sagittarius:0 | |
| schemers/sagittarius:0-bullseye-slim | |
| schemers/sagittarius:latest | |
| - | |
| name: Build and push schemers/sagittarius:head | |
| uses: docker/build-push-action@v2 | |
| with: | |
| push: true | |
| context: implementations/sagittarius/head/ | |
| tags: | | |
| schemers/sagittarius:head | |
| schemers/sagittarius:head-bullseye-slim |