62 Commits

Author SHA1 Message Date
9463ca76c3 Update build-info on 2025-12-28T12:14:48Z 2025-12-28 12:14:48 +00:00
e000c85269 Update changelogs on 2025-12-28T12:13:20Z 2025-12-28 12:13:20 +00:00
7e3597b7bc Merge branch 'tmp-update-trixie-1766923761' 2025-12-28 12:09:35 +00:00
54c6375002 Update base image and checksum for trixie on 2025-12-28T12:09:23Z [skip ci] 2025-12-28 12:09:23 +00:00
d307bee23b Merge branch 'tmp-update-bookworm-1766923597' 2025-12-28 12:07:00 +00:00
86020b5750 Update base image and checksum for bookworm on 2025-12-28T12:06:42Z [skip ci] 2025-12-28 12:06:42 +00:00
9d0a4e7ada Merge branch 'tmp-update-bullseye-1766923540' 2025-12-28 12:05:55 +00:00
fba3b54622 Update base image and checksum for bullseye on 2025-12-28T12:05:43Z [skip ci] 2025-12-28 12:05:43 +00:00
7b66200599 Update build-info on 2025-12-21T16:41:51Z
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 3s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Successful in 4m52s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 6m10s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 3m39s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Successful in 1m30s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Successful in 1m46s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Successful in 1m8s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 1m1s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 1m27s
2025-12-21 16:41:51 +00:00
c33bffaf6d Update changelogs on 2025-12-21T16:40:10Z 2025-12-21 16:40:10 +00:00
2bf2cbcb92 Merge branch 'tmp-update-trixie-1766334920' 2025-12-21 16:35:33 +00:00
abf9748091 Update base image and checksum for trixie on 2025-12-21T16:35:23Z [skip ci] 2025-12-21 16:35:23 +00:00
852f03f2f3 Merge branch 'tmp-update-bookworm-1766334725' 2025-12-21 16:32:29 +00:00
67840f8ed4 Update base image and checksum for bookworm on 2025-12-21T16:32:10Z [skip ci] 2025-12-21 16:32:10 +00:00
7af273f572 Merge branch 'tmp-update-bullseye-1766334671' 2025-12-21 16:31:26 +00:00
af7bb06789 Update base image and checksum for bullseye on 2025-12-21T16:31:14Z [skip ci] 2025-12-21 16:31:14 +00:00
b7ad91bae9 build fix
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 4s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Successful in 5m48s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 6m50s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 4m6s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Successful in 1m47s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Successful in 2m2s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Successful in 1m26s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 1m21s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 1m39s
2025-12-21 08:25:30 -08:00
3dbdb645c9 Update build-info on 2025-12-21T16:20:43Z 2025-12-21 16:20:43 +00:00
f163b52e4b Update changelogs on 2025-12-21T16:20:17Z 2025-12-21 16:20:17 +00:00
f1ff15f81e Merge branch 'tmp-update-trixie-1766333723' 2025-12-21 16:15:36 +00:00
267197003e Update base image and checksum for trixie on 2025-12-21T16:15:26Z [skip ci] 2025-12-21 16:15:26 +00:00
004fc06090 Merge branch 'tmp-update-bullseye-1766333501' 2025-12-21 16:11:56 +00:00
21ef18de59 Update base image and checksum for bullseye on 2025-12-21T16:11:44Z [skip ci] 2025-12-21 16:11:44 +00:00
5585ec731a Merge branch 'tmp-update-bookworm-1766333404' 2025-12-21 16:10:27 +00:00
f8e04eb811 Update base image and checksum for bookworm on 2025-12-21T16:10:09Z [skip ci] 2025-12-21 16:10:09 +00:00
b26116238a update
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 3s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 5m26s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Successful in 4m43s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 3m41s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Successful in 1m43s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Successful in 1m53s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Successful in 1m27s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 1m25s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 1m52s
2025-12-21 07:55:06 -08:00
18ea1862ec Merge pull request 'Update base image and checksum for bullseye on 2025-12-21T13:45:44Z [skip ci]' (#1) from tmp-update-bullseye-1766324742 into main
Reviewed-on: #1
2025-12-21 05:52:13 -08:00
8abcf741c4 Update base image and checksum for bullseye on 2025-12-21T13:45:44Z [skip ci] 2025-12-21 13:45:44 +00:00
28c478f83b Merge branch 'tmp-update-bookworm-1766324684' 2025-12-21 13:45:21 +00:00
018455465a Update base image and checksum for bookworm on 2025-12-21T13:44:54Z [skip ci] 2025-12-21 13:44:54 +00:00
7b700aa632 Merge branch 'tmp-update-trixie-1766324676' 2025-12-21 13:44:53 +00:00
2452a415e2 Update base image and checksum for trixie on 2025-12-21T13:44:39Z [skip ci] 2025-12-21 13:44:39 +00:00
0ff6ab43a7 fix
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been cancelled
2025-12-21 05:32:59 -08:00
a0be634447 Update changelogs on 2025-12-21T12:21:30Z 2025-12-21 12:21:30 +00:00
7a93177fb1 Merge branch 'tmp-update-bookworm-1766318929' 2025-12-21 12:09:10 +00:00
9299590c52 Update base image and checksum for bookworm on 2025-12-21T12:08:52Z [skip ci] 2025-12-21 12:08:52 +00:00
8fa98555e6 Merge branch 'tmp-update-bullseye-1766318865' 2025-12-21 12:08:01 +00:00
921199be90 Update base image and checksum for bullseye on 2025-12-21T12:07:49Z [skip ci] 2025-12-21 12:07:49 +00:00
624588148d Merge branch 'tmp-update-trixie-1766318735' 2025-12-21 12:05:50 +00:00
4b3cd6e721 Update base image and checksum for trixie on 2025-12-21T12:05:37Z [skip ci] 2025-12-21 12:05:37 +00:00
327a90f1a9 file cleanup
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 13s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 4m39s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Successful in 6m52s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 8m1s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Successful in 5m6s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Successful in 8m14s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Successful in 8m24s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Failing after 4m49s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 4m57s
2025-12-20 17:22:48 -08:00
8fced494bd Update build-info on 2025-12-21T01:21:30Z 2025-12-21 01:21:30 +00:00
e226169470 Update changelogs on 2025-12-21T01:20:33Z 2025-12-21 01:20:42 +00:00
607fe096b6 Merge branch 'tmp-update-bookworm-1766279690' 2025-12-21 01:15:15 +00:00
5e558c12f6 Update base image and checksum for bookworm on 2025-12-21T01:14:57Z [skip ci] 2025-12-21 01:14:57 +00:00
23734a8025 Merge branch 'tmp-update-trixie-1766279616' 2025-12-21 01:13:53 +00:00
025b5fe80a Update base image and checksum for trixie on 2025-12-21T01:13:39Z [skip ci] 2025-12-21 01:13:39 +00:00
66c285d3e0 Merge branch 'tmp-update-bullseye-1766279514' 2025-12-21 01:12:13 +00:00
cec91e730f Update base image and checksum for bullseye on 2025-12-21T01:11:56Z [skip ci] 2025-12-21 01:11:56 +00:00
ef3297a752 fgdhfdghjfdhgj
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 5s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Successful in 10m48s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 12m5s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 13m53s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Successful in 3m15s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Successful in 3m15s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Successful in 3m33s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 1m45s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 2m37s
2025-12-20 17:01:03 -08:00
8ab75f47b4 fdghfdghjdfjh
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 4s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been cancelled
2025-12-20 16:59:29 -08:00
7a8d69f302 test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 4s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Has started running
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Has started running
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been cancelled
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been cancelled
2025-12-20 16:57:45 -08:00
cd4afc54b1 Merge branch 'tmp-update-bookworm-1766278413' 2025-12-21 00:54:10 +00:00
ef77296f06 Update base image and checksum for bookworm on 2025-12-21T00:53:41Z [skip ci] 2025-12-21 00:53:41 +00:00
0bdb7c4295 Merge branch 'tmp-update-trixie-1766278279' 2025-12-21 00:51:43 +00:00
c0329741e9 Update base image and checksum for trixie on 2025-12-21T00:51:22Z [skip ci] 2025-12-21 00:51:22 +00:00
c78ae1ff4e test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 5s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 8m54s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Failing after 10m34s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Successful in 11m24s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
2025-12-20 16:42:43 -08:00
745ceae5b1 Merge branch 'tmp-update-trixie-1766277065' 2025-12-21 00:31:26 +00:00
5baa33d621 Update base image and checksum for trixie on 2025-12-21T00:31:07Z [skip ci] 2025-12-21 00:31:07 +00:00
9944b30105 test
Some checks failed
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Docker prune (vm-docker-build2) (push) Successful in 5s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (trixie) (push) Successful in 9m29s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bullseye) (push) Failing after 10m43s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build RootFS Archives (bookworm) (push) Failing after 11m2s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bookworm) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (bullseye) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build & Push Docker Images (trixie) (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Has been skipped
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Has been skipped
2025-12-20 16:21:55 -08:00
7212948d83 Merge branch 'tmp-update-bookworm-1766276282' 2025-12-21 00:18:38 +00:00
1f7902c688 Update base image and checksum for bookworm on 2025-12-21T00:18:11Z [skip ci] 2025-12-21 00:18:11 +00:00
14 changed files with 74 additions and 154 deletions

View File

@@ -35,6 +35,7 @@ jobs:
matrix: matrix:
runner: runner:
- vm-docker-build2 - vm-docker-build2
- vm-docker-build2
steps: steps:
- name: Prune unused Docker images - name: Prune unused Docker images
run: | run: |
@@ -105,22 +106,24 @@ jobs:
mkdir -p "upload-repo/$VERSION" mkdir -p "upload-repo/$VERSION"
cp "./output/$VERSION/debian-$VERSION.tar.bz2" "upload-repo/$VERSION/" cp "./output/$VERSION/debian-$VERSION.tar.bz2" "upload-repo/$VERSION/"
- name: Update sha256sums - name: Update sha256sums (per-version)
run: | run: |
cd upload-repo cd upload-repo
VERSION=${{ matrix.version }} VERSION=${{ matrix.version }}
TAR="../output/$VERSION/debian-$VERSION.tar.bz2" TAR="../output/$VERSION/debian-$VERSION.tar.bz2"
SHA_FILE="$VERSION/sha256sums.txt"
# Remove old entry mkdir -p "$VERSION"
sed -i "/debian-$VERSION.tar.bz2/d" sha256sums.txt 2>/dev/null || true
if [[ ! -f "$TAR" ]]; then if [[ ! -f "$TAR" ]]; then
echo "[ERROR] Tarball not found at $TAR" echo "[ERROR] Tarball not found at $TAR"
ls -lh "../output/$VERSION/"
exit 1 exit 1
fi fi
# Add new sha256 # Calculate SHA256 and store in per-version file
sha256sum "$TAR" >> sha256sums.txt sha256sum "$TAR" > "$SHA_FILE"
echo "[INFO] SHA256 for $VERSION stored in $SHA_FILE"
- name: Commit and push if changed (matrix-safe) - name: Commit and push if changed (matrix-safe)
id: commit_archives id: commit_archives
@@ -129,133 +132,42 @@ jobs:
git config user.name "${{ env.GIT_USERNAME }}" git config user.name "${{ env.GIT_USERNAME }}"
git config user.email "${{ env.GIT_EMAIL }}" git config user.email "${{ env.GIT_EMAIL }}"
# Create temporary branch for this version VERSION=${{ matrix.version }}
TEMP_BRANCH="tmp-update-${{ matrix.version }}-$(date -u +%s)" TEMP_BRANCH="tmp-update-$VERSION-$(date -u +%s)"
# Create temporary branch
git checkout -b "$TEMP_BRANCH" git checkout -b "$TEMP_BRANCH"
# Stage changes # Stage only this version's files
git add **/*.tar.bz2 sha256sums.txt git add "$VERSION/debian-$VERSION.tar.bz2" "$VERSION/sha256sums.txt"
# Check if anything changed
if git diff --cached --quiet; then if git diff --cached --quiet; then
echo "[INFO] No changes to commit for ${{ matrix.version }}" echo "[INFO] No changes to commit for $VERSION"
echo "archives_changed=false" >> $GITEA_OUTPUT echo "archives_changed=false" >> $GITEA_OUTPUT
exit 0 exit 0
fi fi
git commit -m "Update base image and checksum for ${{ matrix.version }} on $(date -u +'%Y-%m-%dT%H:%M:%SZ') [skip ci]" git commit -m "Update base image and checksum for $VERSION on $(date -u +'%Y-%m-%dT%H:%M:%SZ') [skip ci]"
# Push temporary branch # Push temp branch to remote
git push origin "$TEMP_BRANCH" git push origin "$TEMP_BRANCH"
# Merge temp branch into main safely # Switch back to main and rebase onto remote main
git checkout main git checkout main
git fetch origin main git fetch origin main
git rebase origin/main
# Merge temp branch
git merge --no-ff --no-edit "$TEMP_BRANCH" git merge --no-ff --no-edit "$TEMP_BRANCH"
# Push main # Push main safely
git push origin main git push origin main
# Delete temporary branch on remote # Delete temporary branch
git push origin --delete "$TEMP_BRANCH" || true git push origin --delete "$TEMP_BRANCH" || true
echo "archives_changed=true" >> $GITEA_OUTPUT echo "archives_changed=true" >> $GITEA_OUTPUT
# build-and-push-docker-images:
# needs:
# - docker-prune
# - build-and-push-rootfs-archives
# if: always()
# # if: needs.build-and-push-rootfs-archives.outputs.archives_changed == 'true'
# runs-on: vm-docker-build2
# steps:
# - name: Checkout source
# uses: actions/checkout@v3
# - name: Wait for archives to appear in upload repo
# run: |
# echo "[INFO] Waiting for archives to appear in upload-repo..."
# mkdir -p temp-check
# cd temp-check
# # Retry loop for cloning the upload-repo
# for i in {1..10}; do
# echo "[INFO] Attempt $i: Cloning upload-repo..."
# if git clone --depth=1 "https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/debian-base.git"; then
# break
# fi
# echo "[WARN] Clone failed. Retrying in 10 seconds..."
# sleep 10
# done
# if [ ! -d "debian-base" ]; then
# echo "[ERROR] Failed to clone upload-repo after retries."
# exit 1
# fi
# cd debian-base
# # Wait for all versions to show up
# missing_versions=()
# for version in $VERSIONS; do
# found=0
# for i in {1..30}; do
# if [[ -f "$version/debian-$version.tar.bz2" ]]; then
# found=1
# break
# else
# echo "[WAIT] $version not ready yet, sleeping 10s..."
# sleep 10
# fi
# done
# if [[ $found -eq 0 ]]; then
# missing_versions+=("$version")
# fi
# done
# if [[ ${#missing_versions[@]} -gt 0 ]]; then
# echo "[ERROR] Missing archives for: ${missing_versions[*]}"
# exit 1
# fi
# - name: Generate Dockerfiles per version (if missing)
# run: |
# for version in $VERSIONS; do
# mkdir -p "$version"
# DOCKERFILE_PATH="$version/Dockerfile"
# if [[ -f "$DOCKERFILE_PATH" ]]; then
# echo "[INFO] Skipping $DOCKERFILE_PATH (already exists)"
# continue
# fi
# printf '%s\n' \
# "FROM scratch" \
# "LABEL maintainer=\"fithwum\"" \
# "ADD debian-$version.tar.bz2 /" \
# "CMD [\"/bin/bash\"]" > "$DOCKERFILE_PATH"
# echo "[INFO] Created $DOCKERFILE_PATH"
# done
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Log in to Gitea Registry
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
# - name: Build and push Docker images
# run: |
# IMAGE_REGISTRY=gitea.fithwum.tech
# IMAGE_ORG=fithwum
# IMAGE_REPO=debian-base
# for TAG in $VERSIONS; do
# FULL_IMAGE="${IMAGE_REGISTRY}/${IMAGE_ORG}/${IMAGE_REPO}:${TAG}"
# echo "[INFO] Building and pushing $FULL_IMAGE"
# docker buildx build --platform linux/amd64 --push -t "$FULL_IMAGE" "./$TAG"
# done
build-and-push-docker-images: build-and-push-docker-images:
name: Build & Push Docker Images (${{ matrix.version }}) name: Build & Push Docker Images (${{ matrix.version }})
needs: needs:
@@ -376,7 +288,7 @@ jobs:
fi fi
generate-build-info: generate-build-info:
needs: build-and-push-docker-images needs: generate-changelogs
runs-on: vm-docker-build2 runs-on: vm-docker-build2
steps: steps:
- name: Checkout source - name: Checkout source
@@ -390,15 +302,6 @@ jobs:
GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}" GIT_CREDENTIAL="${{ secrets.GIT_TOKEN || secrets.GIT_PASSWORD }}"
git clone --depth=1 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo git clone --depth=1 "https://${{ env.GIT_USERNAME }}:${GIT_CREDENTIAL}@gitea.fithwum.tech/fithwum/debian-base.git" upload-repo
- name: Copy sha256sums.txt
run: |
if [[ -f upload-repo/sha256sums.txt ]]; then
cp upload-repo/sha256sums.txt buildinfo/
else
echo "[ERROR] sha256sums.txt missing in upload-repo!"
exit 1
fi
- name: Generate build-info.json files - name: Generate build-info.json files
run: | run: |
human_size() { human_size() {
@@ -438,13 +341,30 @@ jobs:
# Load SHA256 from file if available # Load SHA256 from file if available
TARBALL_NAME="debian-$version.tar.bz2" TARBALL_NAME="debian-$version.tar.bz2"
SHA256_LINE=$(grep -F "$TARBALL_NAME" sha256sums.txt || true) TARBALL_PATH="../upload-repo/$version/$TARBALL_NAME"
if [[ -z "$SHA256_LINE" ]]; then SHA_FILE="../upload-repo/$version/sha256sums.txt"
echo "[WARN] SHA256 for $TARBALL_NAME not found!"
SHA256="unknown" SHA256="unknown"
else
if [[ -f "$TARBALL_PATH" ]]; then
echo "[INFO] Found tarball for $version: $TARBALL_NAME"
if [[ ! -f "$SHA_FILE" ]]; then
echo "[ERROR] sha256sums.txt missing for $version but tarball exists"
exit 1
fi
SHA256_LINE=$(grep -F "$TARBALL_NAME" "$SHA_FILE" || true)
if [[ -z "$SHA256_LINE" ]]; then
echo "[ERROR] SHA256 entry missing for $TARBALL_NAME in $SHA_FILE"
exit 1
fi
SHA256=$(echo "$SHA256_LINE" | awk '{print $1}') SHA256=$(echo "$SHA256_LINE" | awk '{print $1}')
echo "[INFO] SHA256 for $TARBALL_NAME: $SHA256" echo "[INFO] SHA256 for $TARBALL_NAME: $SHA256"
else
echo "[INFO] No tarball for $version — skipping SHA256 enforcement"
fi fi
jq -n \ jq -n \

View File

@@ -1,3 +1,3 @@
## 2025-12-21T00:04:43Z ## 2025-12-28T12:13:19Z
- b31cb55 2025-12-20 test (fithwum) - 7b66200 2025-12-21 Update build-info on 2025-12-21T16:41:51Z (fithwum)

View File

@@ -1,10 +1,10 @@
{ {
"version": "bookworm", "version": "bookworm",
"commit": "a5ce9834ad805fe66e1647a1d4eae861bd0b7e35", "commit": "7b66200599d5f512ecf226717deafaf0ed32f20e",
"build_time": "2025-12-20T17:20:38Z", "build_time": "2025-12-28T12:14:19Z",
"image_tag": "gitea.fithwum.tech/fithwum/debian-base:bookworm", "image_tag": "gitea.fithwum.tech/fithwum/debian-base:bookworm",
"digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:5c954228972b60057a94326bc50dda998fc5be414d639b1b06d421bdcffe0ea8", "digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:f87d2ae3e7ed4596dfa40cee913ef44ccdb2010f87f260dda007b4bdc88f0b53",
"image_size": "304MB", "image_size": "325MB",
"image_size_bytes": 319684748, "image_size_bytes": 341436537,
"rootfs_sha256": "18ecdd166ff1b257a010d1e261db59f3c4cf25606d9e17dadbef14840752b1e9" "rootfs_sha256": "a37b5b6de6a418ecfc8dabd7a65efa50449f506405757d7f4d4e663e6145ee5b"
} }

Binary file not shown.

1
bookworm/sha256sums.txt Normal file
View File

@@ -0,0 +1 @@
a37b5b6de6a418ecfc8dabd7a65efa50449f506405757d7f4d4e663e6145ee5b ../output/bookworm/debian-bookworm.tar.bz2

View File

@@ -1,3 +1,3 @@
## 2025-12-21T00:04:43Z ## 2025-12-28T12:13:19Z
- b31cb55 2025-12-20 test (fithwum) - 7b66200 2025-12-21 Update build-info on 2025-12-21T16:41:51Z (fithwum)

View File

@@ -1,10 +1,10 @@
{ {
"version": "bullseye", "version": "bullseye",
"commit": "a5ce9834ad805fe66e1647a1d4eae861bd0b7e35", "commit": "7b66200599d5f512ecf226717deafaf0ed32f20e",
"build_time": "2025-12-20T17:20:23Z", "build_time": "2025-12-28T12:14:10Z",
"image_tag": "gitea.fithwum.tech/fithwum/debian-base:bullseye", "image_tag": "gitea.fithwum.tech/fithwum/debian-base:bullseye",
"digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:a5a37b822e24188309d73a4c39e0dc493fbd7bd55a9cdb0d6aaefd823d526eda", "digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:e47f8e49b2489232be51da5937a0ad2fe537dba1b59ede8669268b59f95b4673",
"image_size": "208MB", "image_size": "218MB",
"image_size_bytes": 218759601, "image_size_bytes": 228748624,
"rootfs_sha256": "cb6f3686ad38ba72a484e55d017be1e19cac4ead23123391de2bd0bc64b06b03" "rootfs_sha256": "b3d699eb42a9e6da241df58af68aa96f099c2c7ac339b77b2a78c24b5fd006c3"
} }

Binary file not shown.

1
bullseye/sha256sums.txt Normal file
View File

@@ -0,0 +1 @@
b3d699eb42a9e6da241df58af68aa96f099c2c7ac339b77b2a78c24b5fd006c3 ../output/bullseye/debian-bullseye.tar.bz2

View File

@@ -1,3 +0,0 @@
452ef61c9b24e0df006a4b3faea7d036cfa209fe714cda603b2a03b6c16b0893 ../output/bullseye/debian-bullseye.tar.bz2
6635d22d8b520924e86e09599224250584b8030d046cf858e7bccba755257d6f ../output/bookworm/debian-bookworm.tar.bz2
3db4a01e7703d62dba9294bf625dcf1e6ea09080c62356727e0bdd04a897a84c ../output/trixie/debian-trixie.tar.bz2

View File

@@ -1,3 +1,3 @@
## 2025-12-21T00:04:43Z ## 2025-12-28T12:13:19Z
- b31cb55 2025-12-20 test (fithwum) - 7b66200 2025-12-21 Update build-info on 2025-12-21T16:41:51Z (fithwum)

View File

@@ -1,10 +1,10 @@
{ {
"version": "trixie", "version": "trixie",
"commit": "a5ce9834ad805fe66e1647a1d4eae861bd0b7e35", "commit": "7b66200599d5f512ecf226717deafaf0ed32f20e",
"build_time": "2025-12-20T17:20:45Z", "build_time": "2025-12-28T12:14:26Z",
"image_tag": "gitea.fithwum.tech/fithwum/debian-base:trixie", "image_tag": "gitea.fithwum.tech/fithwum/debian-base:trixie",
"digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:77e4922b5c37a3876c240072831d38f4a7cf72d6226cd96da0f0bb2b0af211e3", "digest": "gitea.fithwum.tech/fithwum/debian-base@sha256:9d7dd8e765f89935787b7906a0e821ecc3efcbc279337f4a0d6361906992ed30",
"image_size": "117MB", "image_size": "209MB",
"image_size_bytes": 123027966, "image_size_bytes": 219170606,
"rootfs_sha256": "2e0909f40cc33ba12482ce274010990270df7af325dfdb8888723b978c333531" "rootfs_sha256": "afdc3a71cf80b7417cb6a69ea765f94b5f5abc61875662915b73a38af7c0e76f"
} }

Binary file not shown.

1
trixie/sha256sums.txt Normal file
View File

@@ -0,0 +1 @@
afdc3a71cf80b7417cb6a69ea765f94b5f5abc61875662915b73a38af7c0e76f ../output/trixie/debian-trixie.tar.bz2