diff --git a/.github/actions/package/action.yml b/.github/actions/package/action.yml index f8e5d685f4..5d669333b8 100644 --- a/.github/actions/package/action.yml +++ b/.github/actions/package/action.yml @@ -31,6 +31,9 @@ inputs: rpm_gpg_signing_passphrase: description: The rpm gpg signing passphrase required: true + stability: + description: "The package stability (stable, testing, unstable, canary)" + required: true runs: using: composite @@ -53,6 +56,11 @@ runs: if [ "${{ inputs.package_extension }}" = "rpm" ]; then export DIST=".${{ inputs.distrib }}" else + if [ "${{ inputs.stability }}" = "unstable" ] || [ "${{ inputs.stability }}" = "canary" ]; then + export RELEASE="$RELEASE-${{ inputs.distrib }}" + elif [ "${{ inputs.stability }}" = "testing" ]; then + export RELEASE="${{ inputs.distrib }}" + fi export DIST="" fi diff --git a/.github/actions/promote-to-stable/action.yml b/.github/actions/promote-to-stable/action.yml index 1a26c7a7d6..91f445adbd 100644 --- a/.github/actions/promote-to-stable/action.yml +++ b/.github/actions/promote-to-stable/action.yml @@ -60,7 +60,7 @@ runs: shell: bash - name: Promote DEB package to stable - if: ${{ startsWith(inputs.distrib, 'bullseye') }} + if: ${{ startsWith(inputs.distrib, 'bullseye') || startsWith(inputs.distrib, 'bookworm' }} run: | echo "[DEBUG] - Distrib: ${{ inputs.distrib }}" diff --git a/.github/docker/Dockerfile.packaging-plugins-bookworm b/.github/docker/Dockerfile.packaging-plugins-bookworm new file mode 100644 index 0000000000..caf7d402a9 --- /dev/null +++ b/.github/docker/Dockerfile.packaging-plugins-bookworm @@ -0,0 +1,53 @@ +ARG REGISTRY_URL + +FROM ${REGISTRY_URL}/debian:bookworm + +ENV DEBIAN_FRONTEND noninteractive + +# fix locale +RUN bash -e <