Skip to content

Build and push all supported versions of the BorgBackup container image #813

Build and push all supported versions of the BorgBackup container image

Build and push all supported versions of the BorgBackup container image #813

Workflow file for this run

name: Build and push all supported versions of the BorgBackup container image
on:
workflow_dispatch:
#“Every day at 04:05.”
schedule:
- cron: "5 4 * * *"
jobs:
call-build-push:
strategy:
fail-fast: false
matrix:
include:
- version: "1.1"
subfolder: "borg1"
prerelease: false
tag_major_minor: true
base_image: "docker.io/library/python:3.9-slim-bullseye"
distroless_image: "gcr.io/distroless/base-debian11"
- version: "1.2"
subfolder: "borg1"
prerelease: false
tag_major_minor: true
base_image: "docker.io/library/python:3.9-slim-bullseye"
distroless_image: "gcr.io/distroless/base-debian11"
- version: "1.4"
subfolder: "borg1"
prerelease: false
tag_major_minor: true
base_image: "docker.io/library/python:3.11-slim-bookworm"
distroless_image: "gcr.io/distroless/base-debian12"
- version: "2.0"
subfolder: "borg2"
prerelease: true
tag_major_minor: true
base_image: "docker.io/library/python:3.12-slim-bookworm"
distroless_image: "gcr.io/distroless/cc-debian12"
uses: ./.github/workflows/build-push.yaml
secrets: inherit
with:
borg_version: ${{ matrix.version }}
subfolder: ${{ matrix.subfolder }}
prerelease: ${{ matrix.prerelease }}
tag_major_minor: ${{ matrix.tag_major_minor }}
base_image: ${{ matrix.base_image }}
distroless_image: ${{ matrix.distroless_image }}