Skip to content

Add Debian 12 with 3.10-dependencies #60

Add Debian 12 with 3.10-dependencies

Add Debian 12 with 3.10-dependencies #60

Workflow file for this run

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-centos-7.6-3.8
tag: centos-7.6-3.8
- path: ci/ci-centos-8.3-3.9
tag: centos-8.3-3.9
- path: ci/ci-centos-8.4-3.10
tag: centos-8.4-3.10
- 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-35-3.9
tag: fedora-35-3.9
- path: ci/ci-fedora-36-3.9
tag: fedora-36-3.9
- 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-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
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