Fix some typos in schema descriptions #3599
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 Package | |
| on: | |
| push: | |
| tags: "*" | |
| branches: | |
| - master | |
| pull_request: | |
| env: | |
| REGISTRY: ghcr.io | |
| IMAGE_NAME: ${{ github.repository }} | |
| jobs: | |
| build-and-publish-base: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository ) | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Log into the Container registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: token | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| # Build and publish image with all sources | |
| - name: Extract metadata for the Docker image | |
| id: meta | |
| uses: docker/metadata-action@v6 | |
| with: | |
| images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
| - name: Build and push the Docker image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: slim.Dockerfile | |
| target: all | |
| load: true | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| - name: Test the Docker image | |
| run: docker run --rm ${{ steps.meta.outputs.tags }} bash -c 'python -c "import large_image;print(large_image.listSources()[\"sources\"].keys());assert len(large_image.listSources()[\"sources\"]) | |
| >= 6"' | |
| - name: Push the Docker image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: slim.Dockerfile | |
| target: all | |
| push: ${{ github.actor != 'dependabot[bot]' }} | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| build-and-publish-targets: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository ) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| target: | |
| - "geo" | |
| - "girder" | |
| - "jupyter" | |
| - "jupyter-geo" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Log into the Container registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ${{ env.REGISTRY }} | |
| username: token | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| # Build and publish image with only geospatial sources | |
| - name: Extract metadata for the geospatial Docker image | |
| id: meta_target | |
| uses: docker/metadata-action@v6 | |
| with: | |
| images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
| flavor: | | |
| latest=auto | |
| suffix=-${{ matrix.target }},onlatest=true | |
| - name: Build the Docker image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: slim.Dockerfile | |
| load: true | |
| target: ${{ matrix.target }} | |
| tags: ${{ steps.meta_target.outputs.tags }} | |
| labels: ${{ steps.meta_target.outputs.labels }} | |
| - name: Test the Docker image | |
| run: docker run --rm ${{ steps.meta_target.outputs.tags }} bash -c 'python -c "import large_image;print(large_image.listSources()[\"sources\"].keys());assert len(large_image.listSources()[\"sources\"]) | |
| >= 6"' | |
| - name: Push the Docker image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: slim.Dockerfile | |
| push: ${{ github.actor != 'dependabot[bot]' }} | |
| target: ${{ matrix.target }} | |
| tags: ${{ steps.meta_target.outputs.tags }} | |
| labels: ${{ steps.meta_target.outputs.labels }} |