Add Sphinx to Py deps #80
Workflow file for this run
This file contains 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 and publish a Docker image | |
# 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-10-3.9 | |
tag: debian-10-3.9 | |
- path: ci/ci-debian-11-3.10 | |
tag: debian-11-3.10 | |
- path: ci/ci-debian-i386-11-3.10 | |
tag: debian-i386-11-3.10 | |
- path: ci/ci-debian-12-3.10 | |
tag: debian-12-3.10 | |
- path: ci/ci-fedora-37-3.9 | |
tag: fedora-37-3.9 | |
- path: ci/ci-fedora-38-3.10 | |
tag: fedora-38-3.10 | |
- path: ci/ci-fedora-39-3.10 | |
tag: fedora-39-3.10 | |
- path: ci/ci-fedora-40-3.10 | |
tag: fedora-40-3.10 | |
- path: ci/ci-ubuntu-18.04-3.8 | |
tag: ubuntu-18.04-3.8 | |
- path: ci/ci-ubuntu-18.04-3.9 | |
tag: ubuntu-18.04-3.9 | |
- 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 | |
name: Build CI container for ${{ matrix.tag }} | |
environment: github-action-autobuild | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- 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 | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: | | |
gnuradio/ci:${{ matrix.tag }} | |
ghcr.io/gnuradio/ci:${{ matrix.tag }} | |
file: ${{ matrix.path }}/Dockerfile |