Merge pull request '.gitea/workflows/linux_arm64_docker.yaml aktualisiert' (#57) from penry-patch-1 into main
Build Docker Linux ARM64 / build-docker-linux-arm64 (push) Failing after 8s

Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
2026-06-07 18:42:44 +02:00
+9 -5
View File
@@ -31,18 +31,20 @@ jobs:
set -euo pipefail set -euo pipefail
git fetch --force --tags origin git fetch --force --tags origin
git fetch --force origin main git fetch --force origin main:refs/remotes/origin/main
LAST_TAG=$(git log --first-parent --tags --simplify-by-decoration --pretty='%D' origin/main \ LAST_TAG=$(git log --first-parent --decorate=short --simplify-by-decoration --oneline origin/main \
| grep -oE 'tag: v[^, ]+' \ | grep -oE 'tag: v[^,)]+' \
| head -n 1 \ | head -n 1 \
| sed 's/tag: //') | sed 's/tag: //')
if [[ -z "${LAST_TAG:-}" ]]; then if [[ -z "${LAST_TAG:-}" ]]; then
LAST_TAG="v0.0.1-alpha" echo "No release tag found"
exit 1
fi fi
DISTANCE=$(git rev-list --count --first-parent "${LAST_TAG}..origin/main") LAST_COMMIT=$(git rev-list -n 1 "$LAST_TAG")
DISTANCE=$(git rev-list --count --first-parent "${LAST_COMMIT}..origin/main")
BASE_VERSION="${LAST_TAG#v}" BASE_VERSION="${LAST_TAG#v}"
@@ -53,10 +55,12 @@ jobs:
fi fi
echo "LAST_TAG=$LAST_TAG" >> "$GITHUB_ENV" echo "LAST_TAG=$LAST_TAG" >> "$GITHUB_ENV"
echo "LAST_COMMIT=$LAST_COMMIT" >> "$GITHUB_ENV"
echo "DISTANCE=$DISTANCE" >> "$GITHUB_ENV" echo "DISTANCE=$DISTANCE" >> "$GITHUB_ENV"
echo "VERSION=$VERSION" >> "$GITHUB_ENV" echo "VERSION=$VERSION" >> "$GITHUB_ENV"
echo "Last tag: $LAST_TAG" echo "Last tag: $LAST_TAG"
echo "Last tag commit: $LAST_COMMIT"
echo "Distance to origin/main (first-parent): $DISTANCE" echo "Distance to origin/main (first-parent): $DISTANCE"
echo "Final version: $VERSION" echo "Final version: $VERSION"