Skip to content

Commit 13724ed

Browse files
authored
Merge pull request #62 from rspier/bookworm
Build images for bookworm, as well as buster.
2 parents a16315c + 1de221a commit 13724ed

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/publish-to-docker.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
latest-build:
2727
name: "Build latest"
2828
runs-on: ubuntu-latest
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
debian-version: [buster,bookworm]
33+
2934
steps:
3035
- uses: actions/checkout@v4
3136
- name: Publish to Registry
@@ -36,7 +41,7 @@ jobs:
3641
password: ${{ secrets.DOCKER_GITHUB_TOKEN }}
3742
dockerfile: Dockerfile
3843
buildargs: BASE=buster
39-
tags: "latest,buster"
44+
tags: "latest,${{ matrix.debian-version }}"
4045

4146
build:
4247
name: "Build versions"
@@ -48,6 +53,7 @@ jobs:
4853
fail-fast: false
4954
matrix:
5055
perl-version: ${{ fromJson (needs.prepare-matrix.outputs.perl-versions) }}
56+
debian-version: [buster,bookworm]
5157

5258
steps:
5359
- uses: actions/checkout@v4
@@ -58,5 +64,5 @@ jobs:
5864
username: ${{ secrets.DOCKER_USERNAME }}
5965
password: ${{ secrets.DOCKER_GITHUB_TOKEN }}
6066
dockerfile: Dockerfile
61-
buildargs: BASE=${{ matrix.perl-version }}-buster,CPANOUTDATED=${{ matrix.perl-version != '5.8' }}
62-
tags: "${{ matrix.perl-version }}"
67+
buildargs: BASE=${{ matrix.perl-version }}-${{ matrix.debian-version }},CPANOUTDATED=${{ matrix.perl-version != '5.8' }}
68+
tags: "${{ matrix.perl-version }}-${{ matrix.debian-version }}${{ matrix.debian-version=='buster' && format(',{0}',matrix.perl-version) || '' }}"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ This is tracking the last Perl `devel` version released.
105105

106106
## OS flavor
107107

108-
At this time all the images built are based on `buster` distro.
108+
Images are built for both Debian `buster` and Debian `bookworm`. The
109+
versions without an explicit Debian version are `buster`.
109110

110111
# Continuous Integrations
111112

0 commit comments

Comments
 (0)