mirror of
https://github.com/wofferl/proxmox-backup-arm64
synced 2025-12-11 05:43:15 +00:00
set correct dist names
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -1,5 +1,5 @@
|
|||||||
name: Release
|
name: Release
|
||||||
run-name: Release ${{ github.ref_name }} ${{ github.event.inputs.version }} Debian/Bullseye (crossbuild/arm64)
|
run-name: Release ${{ github.ref_name }} ${{ github.event.inputs.version }} Debian (crossbuild/arm64)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -34,8 +34,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.event.inputs.version }}" =~ ^3. ]] || [[ "${GITHUB_REF_NAME}" =~ ^3. ]]; then
|
if [[ "${{ github.event.inputs.version }}" =~ ^3. ]] || [[ "${GITHUB_REF_NAME}" =~ ^3. ]]; then
|
||||||
baseimage="debian:bookworm-slim"
|
baseimage="debian:bookworm-slim"
|
||||||
|
echo "DEB_DIST=Debian/Bookworm" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
baseimage="debian:bullseye-slim"
|
baseimage="debian:bullseye-slim"
|
||||||
|
echo "DEB_DIST=Debian/Bullseye" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
if [ "${RUNNER_DEBUG}" = "1" ]; then
|
if [ "${RUNNER_DEBUG}" = "1" ]; then
|
||||||
docker buildx build -o packages --build-arg buildoptions="cross github debug" --build-arg baseimage=${baseimage} --platform linux/amd64 -f .github/Dockerfile.crosscompile-arm64 .
|
docker buildx build -o packages --build-arg buildoptions="cross github debug" --build-arg baseimage=${baseimage} --platform linux/amd64 -f .github/Dockerfile.crosscompile-arm64 .
|
||||||
@@ -53,6 +55,6 @@ jobs:
|
|||||||
artifacts: "packages/*.deb"
|
artifacts: "packages/*.deb"
|
||||||
bodyFile: "PREBUILD.md"
|
bodyFile: "PREBUILD.md"
|
||||||
tag: ${{ env.DEB_VERSION }}
|
tag: ${{ env.DEB_VERSION }}
|
||||||
name: Version ${{ env.DEB_VERSION }} (Debian/Bullseye)
|
name: Version ${{ env.DEB_VERSION }} (${{ env.DEB_DIST }})
|
||||||
draft: true
|
draft: true
|
||||||
makeLatest: false
|
makeLatest: false
|
||||||
|
|||||||
Reference in New Issue
Block a user