diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index d9949c3..f5d517a 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -61,8 +61,8 @@ jobs: image: flobernd/haproxy-acme context: ./haproxy-acme/data build-args: | - BASE_IMAGE=haproxy:${{ inputs.version-major }}.${{ inputs.version-minor }}-bookworm - platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/mips64le", "linux/ppc64le", "linux/s390x"]' + BASE_IMAGE=haproxy:${{ inputs.version-major }}.${{ inputs.version-minor }}-trixie + platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/ppc64le", "linux/s390x"]' tags: | ghcr.io/flobernd/haproxy-acme:${{ inputs.version-major }}.${{ inputs.version-minor }} ghcr.io/flobernd/haproxy-acme:${{ inputs.version-major }} @@ -86,7 +86,7 @@ jobs: context: ./haproxy-acme-http01/data build-args: | BASE_IMAGE=ghcr.io/flobernd/haproxy-acme:${{ inputs.version-major }}.${{ inputs.version-minor }} - platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/mips64le", "linux/ppc64le", "linux/s390x"]' + platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/ppc64le", "linux/s390x"]' tags: | ghcr.io/flobernd/haproxy-acme-http01:${{ inputs.version-major }}.${{ inputs.version-minor }} ghcr.io/flobernd/haproxy-acme-http01:${{ inputs.version-major }} @@ -110,7 +110,7 @@ jobs: context: ./haproxy-acme-dns01/data build-args: | BASE_IMAGE=ghcr.io/flobernd/haproxy-acme:${{ inputs.version-major }}.${{ inputs.version-minor }} - platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/mips64le", "linux/ppc64le", "linux/s390x"]' + platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/ppc64le", "linux/s390x"]' tags: | ghcr.io/flobernd/haproxy-acme-dns01:${{ inputs.version-major }}.${{ inputs.version-minor }} ghcr.io/flobernd/haproxy-acme-dns01:${{ inputs.version-major }} @@ -134,7 +134,7 @@ jobs: context: ./haproxy-acme-tlsalpn01/data build-args: | BASE_IMAGE=ghcr.io/flobernd/haproxy-acme:${{ inputs.version-major }}.${{ inputs.version-minor }} - platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/mips64le", "linux/ppc64le", "linux/s390x"]' + platforms: '["linux/386", "linux/amd64", "linux/arm/v5", "linux/arm/v7", "linux/arm64", "linux/ppc64le", "linux/s390x"]' tags: | ghcr.io/flobernd/haproxy-acme-tlsalpn01:${{ inputs.version-major }}.${{ inputs.version-minor }} ghcr.io/flobernd/haproxy-acme-tlsalpn01:${{ inputs.version-major }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2e1798c..310809c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,7 +59,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max push: true - # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x + # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x build-args: | BASE_IMAGE=${{ env.BASE_IMAGE }} tags: ${{ steps.meta-haproxy-acme.outputs.tags }} @@ -87,7 +87,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max push: true - # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x + # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x build-args: | BASE_IMAGE=${{ fromJSON(steps.build-haproxy-acme.outputs.metadata)['image.name'] }} tags: ${{ steps.meta-haproxy-acme-http01.outputs.tags }} @@ -115,7 +115,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max push: true - # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x + # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x build-args: | BASE_IMAGE=${{ fromJSON(steps.build-haproxy-acme.outputs.metadata)['image.name'] }} tags: ${{ steps.meta-haproxy-acme-dns01.outputs.tags }} @@ -143,7 +143,7 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max push: true - # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/mips64le,linux/ppc64le,linux/s390x + # platforms: linux/386,linux/amd64,linux/arm/v5,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x build-args: | BASE_IMAGE=${{ fromJSON(steps.build-haproxy-acme.outputs.metadata)['image.name'] }} tags: ${{ steps.meta-haproxy-acme-tlsalpn01.outputs.tags }} diff --git a/haproxy-acme/data/Dockerfile b/haproxy-acme/data/Dockerfile index 38b07d6..5862d9d 100644 --- a/haproxy-acme/data/Dockerfile +++ b/haproxy-acme/data/Dockerfile @@ -1,4 +1,4 @@ -ARG BASE_IMAGE=haproxy:bookworm +ARG BASE_IMAGE=haproxy:trixie FROM $BASE_IMAGE @@ -67,14 +67,15 @@ RUN echo '. "/usr/local/share/acme/acme.sh.env"' >> /var/lib/haproxy/.bashrc && chown haproxy:haproxy /var/lib/haproxy/.bashrc && \ chmod 0644 /var/lib/haproxy/.bashrc -# Install 'supervisord' and 'acme.sh' dependencies +# Install 'supervisord', direct 'acme.sh' dependencies, and 'acme.sh' DNS API dependencies. RUN apt-get install -y --no-install-recommends \ supervisor \ ca-certificates \ curl \ socat \ - idn + idn \ + bind9-dnsutils COPY --chown=haproxy:haproxy supervisord.conf /etc/supervisord.conf