Skip to content

Commit 57d0aec

Browse files
authored
Merge pull request PowerDNS#13 from romeroalx/use-python-bullseye-image
Use python:3.11-bullseye as base for debian 11 builds
2 parents 5a3695c + d6111a5 commit 57d0aec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build-debian-images.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ jobs:
1717
- rel/dnsdist-1.9.x
1818
image:
1919
- id: debian-11-pdns-base
20-
debian-release: bullseye-slim
20+
debian-image-name: python
21+
debian-image-tag: 3.11-slim-bullseye
2122
- id: debian-12-pdns-base
22-
debian-release: bookworm-slim
23+
debian-image-name: debian
24+
debian-image-tag: bookworm-slim
2325
fail-fast: false
2426
runs-on: ubuntu-22.04
2527
permissions:
@@ -36,7 +38,8 @@ jobs:
3638
run: |
3739
docker build . --file Dockerfile \
3840
--tag ${{ env.image-id-lowercase }}:${{ env.image-tag }} \
39-
--build-arg DEBIAN_IMAGE_TAG=${{ matrix.image.debian-release }} \
41+
--build-arg DEBIAN_IMAGE_NAME=${{ matrix.image.debian-image-name }} \
42+
--build-arg DEBIAN_IMAGE_TAG=${{ matrix.image.debian-image-tag }} \
4043
--build-arg REPO_BRANCH=${{ matrix.branch-name }}
4144
4245
- name: Login to GitHub Container Registry

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
ARG DEBIAN_IMAGE_NAME
12
ARG DEBIAN_IMAGE_TAG
2-
FROM debian:${DEBIAN_IMAGE_TAG}
3+
FROM ${DEBIAN_IMAGE_NAME}:${DEBIAN_IMAGE_TAG}
34

45
ARG REPO_HOME=/home/runner
56
ARG REPO_BRANCH=master

0 commit comments

Comments
 (0)