Skip to content

Debian

Debian #20

Workflow file for this run

name: Debian
on:
push:
branches:
- main
paths:
- debian/**
- '!debian/README.md'
- .github/workflows/image-build.yml
- .github/workflows/debian.yml
schedule:
- cron: '0 8 1 * *'
jobs:
debian:
uses: ./.github/workflows/image-build.yml
name: Debian
strategy:
matrix:
debian-version: [12, 11]
is-slim: [false, true]
include:
- debian-latest-version: 12
with:
image-label-title: Debian
image-label-description: Debian 系统基础镜像
image-label-version: "${{ matrix.debian-version }}"
image-build-context: ./debian/${{ matrix.debian-version }}
image-build-args: |
BASE_IMAGE=debian:${{ matrix.debian-version }}-slim
IS_SLIM=${{ matrix.is-slim && 'slim' || '' }}
image-name: >-
bromine0x23/debian
ghcr.io/bromine0x23/debian
image-tag: >-
${{ matrix.debian-version }}${{ matrix.is-slim && '-slim' || '' }}
${{ matrix.debian-version == matrix.debian-latest-version && (matrix.is-slim && 'slim' || 'latest') || '' }}
secrets: inherit