From 29098aee623dd36587b3ab722676d10cdd34189f Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 13 Apr 2026 12:12:18 +0200 Subject: [PATCH] fix(ci): add libc6-compat for Alpine, fix S3 upload glob, add debug - Install libc6-compat on Alpine so the glibc-linked mage binary runs - Change S3 upload glob from **/* to **/*.* to skip directories - Add debug step to inspect mage-static binary on Alpine --- .github/workflows/release.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b46131224..3bb55498d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -296,7 +296,7 @@ jobs: - name: Install tools (apk) if: matrix.format == 'apk' - run: apk add --no-cache abuild + run: apk add --no-cache abuild libc6-compat - name: GPG setup if: matrix.format != 'apk' @@ -318,6 +318,14 @@ jobs: echo "${{ secrets.APK_SIGNING_KEY }}" > ~/.abuild/vikunja-apk.rsa echo "PACKAGER_PRIVKEY=$HOME/.abuild/vikunja-apk.rsa" > ~/.abuild/abuild.conf + - name: Debug mage-static binary + if: matrix.format == 'apk' + run: | + ls -la ./mage-static || true + file ./mage-static || true + readelf -l ./mage-static 2>/dev/null | grep -i interpreter || echo "no interpreter" + ldd ./mage-static 2>&1 || true + - name: Generate repo metadata env: RELEASE_GPG_KEY: ${{ matrix.format != 'apk' && '7D061A4AA61436B40713D42EFF054DACD908493A' || '' }} @@ -327,6 +335,9 @@ jobs: chmod +x ./mage-static ./mage-static ${{ matrix.mage_target }} + - name: Debug - repo output structure + run: find dist/repo-output -type f 2>/dev/null || ls -laR dist/repo-output/ || true + - name: Upload repo metadata to R2 uses: kolaente/s3-action@41963184b524ccac734ea4d8c964ac74b5b1af89 # v1.2.1 with: @@ -336,7 +347,7 @@ jobs: s3-bucket: ${{ secrets.S3_BUCKET }} s3-region: ${{ secrets.S3_REGION }} target-path: /repos - files: "dist/repo-output/**/*" + files: "dist/repo-output/**/*.*" strip-path-prefix: dist/repo-output/ config-yaml: