test
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 6s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
Some checks failed
Build and Push Teamspeak Images on Base Image Update / check-for-changes (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-alpine (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / build-debian (push) Successful in 5s
Build and Push Teamspeak Images on Base Image Update / build-basic (push) Successful in 7s
Build and Push Teamspeak Images on Base Image Update / update-base-digest-cache (push) Successful in 6s
Build and Push Teamspeak Images on Base Image Update / generate-build-info (push) Failing after 6s
Build and Push Teamspeak Images on Base Image Update / generate-changelogs (push) Has been skipped
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
alpine@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
gitea.fithwum.tech/fithwum/debian-base@sha256:3b785538554f75ca53833cf6aa0d61ead2fa8a797e0c33e9b51ef2500f2b0ed6
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
gitea.fithwum.tech/fithwum/debian-base@sha256:3b785538554f75ca53833cf6aa0d61ead2fa8a797e0c33e9b51ef2500f2b0ed6
|
|
||||||
@@ -304,24 +304,32 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name "${{ secrets.GIT_USERNAME }}"
|
git config user.name "${{ secrets.GIT_USERNAME }}"
|
||||||
git config user.email "${{ secrets.GIT_EMAIL }}"
|
git config user.email "${{ secrets.GIT_EMAIL }}"
|
||||||
|
|
||||||
if git status --porcelain | grep .; then
|
if git status --porcelain | grep .; then
|
||||||
|
# Create a temporary branch
|
||||||
|
TEMP_BRANCH="tmp-buildinfo-$(date -u +%s)"
|
||||||
|
git checkout -b "$TEMP_BRANCH"
|
||||||
|
|
||||||
git add */build-info.json
|
git add */build-info.json
|
||||||
git commit -m "Update build-info on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
git commit -m "Update build-info on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
||||||
git push
|
|
||||||
|
|
||||||
for version in alpine debian basic; do
|
# Push temporary branch
|
||||||
TAG="build-$version"
|
git push origin "$TEMP_BRANCH"
|
||||||
git tag -d "$TAG" 2>/dev/null || true
|
|
||||||
git tag "$TAG"
|
# Merge temporary branch into main safely
|
||||||
git push origin "$TAG" --force
|
git checkout main
|
||||||
done
|
git fetch origin main
|
||||||
|
git merge --no-ff --no-edit "$TEMP_BRANCH"
|
||||||
|
|
||||||
|
# Push main branch
|
||||||
|
git push origin main
|
||||||
|
|
||||||
|
# Delete temporary branch remotely
|
||||||
|
git push origin --delete "$TEMP_BRANCH" || true
|
||||||
else
|
else
|
||||||
echo "[INFO] No build-info changes to commit."
|
echo "[INFO] No build-info changes to commit."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls -l basic/build-info.json || echo "❌ build-info not written"
|
|
||||||
cat basic/build-info.json || echo "❌ empty build-info"
|
|
||||||
|
|
||||||
generate-changelogs:
|
generate-changelogs:
|
||||||
needs:
|
needs:
|
||||||
- check-for-changes
|
- check-for-changes
|
||||||
|
|||||||
Reference in New Issue
Block a user