Merge pull request #32 from eodcgmbh/rtmiz-patch-3 #3
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: Build and Push Dask Gateway Server with JWT support | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - dask_gateway/** | |
| permissions: | |
| contents: write | |
| packages: write | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Check out the code from the repository | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # Make sure buildx is used | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| # Build and push image | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: ./dask_gateway | |
| push: true | |
| tags: ghcr.io/eodcgmbh/container-images/dask-gateway-server:latest | |
| file: dask_gateway/dask-gateway-jwt.dockerfile |