gha: Pass USE_DEVMAPPER to agent static tarball builds

Enable devicemapper (dm-verity) support in CI by forwarding the
USE_DEVMAPPER environment variable to the agent build step across
all architectures (amd64, arm64, s390x).

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
Alex Lyn
2026-06-16 16:50:15 +08:00
parent 2c8358454d
commit 98d11d0ade
3 changed files with 3 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ jobs:
TARGET_BRANCH: ${{ inputs.target-branch }}
RELEASE: ${{ inputs.stage == 'release' && 'yes' || 'no' }}
KBUILD_SIGN_PIN: ${{ contains(matrix.asset, 'nvidia') && secrets.KBUILD_SIGN_PIN || '' }}
USE_DEVMAPPER: ${{ matrix.asset == 'agent' && 'yes' || 'no' }}
- name: Parse OCI image name and digest
id: parse-oci-segments

View File

@@ -101,6 +101,7 @@ jobs:
TARGET_BRANCH: ${{ inputs.target-branch }}
RELEASE: ${{ inputs.stage == 'release' && 'yes' || 'no' }}
KBUILD_SIGN_PIN: ${{ contains(matrix.asset, 'nvidia') && secrets.KBUILD_SIGN_PIN || '' }}
USE_DEVMAPPER: ${{ matrix.asset == 'agent' && 'yes' || 'no' }}
- name: Parse OCI image name and digest
id: parse-oci-segments

View File

@@ -98,6 +98,7 @@ jobs:
ARTEFACT_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH: ${{ inputs.target-branch }}
RELEASE: ${{ inputs.stage == 'release' && 'yes' || 'no' }}
USE_DEVMAPPER: ${{ matrix.asset == 'agent' && 'yes' || 'no' }}
- name: Parse OCI image name and digest
id: parse-oci-segments