Skip to content

Workflow file for this run

name: Build and push Docker images
on:
schedule:
- cron: "15 14 * * *"
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build-base:
strategy:
fail-fast: false
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build base image
uses: ./.github/workflows/docker-build.yml
with:
variant: base
build-all:
needs: build-base
strategy:
fail-fast: false
matrix:
variant:
- gnome
- flagship
- xfce
- kde
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build all images
uses: ./.github/workflows/docker-build.yml
with:
variant: ${{ matrix.variant }}