debian 14: add xauth, as to any other debian #217
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: Create/Publish Containers | |
| # Trigger on push and on PR against master. Note that we don't push | |
| # containers to the registry if we're doing a PR. | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: | |
| branches: | |
| - 'master' | |
| jobs: | |
| build-and-push-image: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - path: ci/ci-debian-i386-11-3.10 | |
| tag: debian-i386-11-3.10 | |
| - path: ci/ci-debian-i386-12-3.10 | |
| tag: debian-i386-12-3.10 | |
| - path: ci/ci-debian-12-3.10 | |
| tag: debian-12-3.10 | |
| - path: ci/ci-debian-13-3.10 | |
| tag: debian-13-3.10 | |
| - path: ci/ci-debian-14-3.10 | |
| tag: debian-14-3.10 | |
| - path: ci/ci-debian-14-3.11 | |
| tag: debian-14-3.11 | |
| - path: ci/ci-fedora-42-3.10 | |
| tag: fedora-42-3.10 | |
| - path: ci/ci-fedora-43-3.10 | |
| tag: fedora-43-3.10 | |
| - path: ci/ci-fedora-44-3.10 | |
| tag: fedora-44-3.10 | |
| - path: ci/ci-fedora-44-3.11 | |
| tag: fedora-44-3.11 | |
| - path: ci/ci-fedora-44-4.0 | |
| tag: fedora-44-4.0 | |
| - path: ci/ci-ubuntu-24.04-4.0 | |
| tag: ubuntu-24.04-4.0 | |
| - path: ci/ci-ubuntu-24.04-4.0-emscripten | |
| tag: ubuntu-24.04-4.0-emscripten | |
| - path: ci/ci-ubuntu-26.04-4.0 | |
| tag: ubuntu-26.04-4.0 | |
| - path: ci/ci-ubuntu-20.04-3.9 | |
| tag: ubuntu-20.04-3.9 | |
| - path: ci/ci-ubuntu-22.04-3.9 | |
| tag: ubuntu-22.04-3.9 | |
| - path: ci/ci-ubuntu-24.04-3.10 | |
| tag: ubuntu-24.04-3.10 | |
| - path: ci/ci-ubuntu-26.10-3.11 | |
| tag: ubuntu-26.10-3.11 | |
| name: ${{ matrix.tag }} | |
| environment: github-action-autobuild | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Check cache availability | |
| id: check_s3_secrets | |
| env: | |
| S3_CACHE_KEY_ID: ${{ secrets.MARCUS_B2_S3_BUCKET_KEY_ID }} | |
| run: tools/check_s3_availability.bash "${{ matrix.tag }}" | |
| - name: Log in to the Docker Hub Container registry | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: docker/login-action@v2 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Log in to the GitHub Container registry | |
| if: ${{ github.event_name != 'pull_request' }} | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push Docker image (cached) | |
| if: ${{ steps.check_s3_secrets.outputs.HAS_BUCKET_KEY }} | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| push: ${{ github.event_name != 'pull_request' }} | |
| tags: | | |
| gnuradio/ci:${{ matrix.tag }} | |
| ghcr.io/gnuradio/ci:${{ matrix.tag }} | |
| file: ${{ matrix.path }}/Dockerfile | |
| cache-from: type=s3,region=none,bucket=gnuradio-docker-cache,name=${{ matrix.tag }},endpoint_url=https://s3.us-west-002.backblazeb2.com,access_key_id=${{ secrets.MARCUS_B2_S3_BUCKET_KEY_ID }},secret_access_key=${{ secrets.MARCUS_B2_S3_BUCKET_KEY }} | |
| cache-to: type=s3,region=none,bucket=gnuradio-docker-cache,name=${{ matrix.tag }},endpoint_url=https://s3.us-west-002.backblazeb2.com,access_key_id=${{ secrets.MARCUS_B2_S3_BUCKET_KEY_ID }},secret_access_key=${{ secrets.MARCUS_B2_S3_BUCKET_KEY }} | |
| - name: Build and push Docker image (uncached) | |
| if: ${{ ! steps.check_s3_secrets.outputs.HAS_BUCKET_KEY }} | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| push: ${{ github.event_name != 'pull_request' }} | |
| tags: | | |
| gnuradio/ci:${{ matrix.tag }} | |
| ghcr.io/gnuradio/ci:${{ matrix.tag }} | |
| file: ${{ matrix.path }}/Dockerfile |