Compare commits
12 Commits
0ff6ab43a7
...
267197003e
| Author | SHA1 | Date | |
|---|---|---|---|
| 267197003e | |||
| 004fc06090 | |||
| 21ef18de59 | |||
| 5585ec731a | |||
| f8e04eb811 | |||
| b26116238a | |||
| 18ea1862ec | |||
| 8abcf741c4 | |||
| 28c478f83b | |||
| 018455465a | |||
| 7b700aa632 | |||
| 2452a415e2 |
@@ -36,8 +36,6 @@ jobs:
|
||||
runner:
|
||||
- vm-docker-build2
|
||||
- vm-docker-build2
|
||||
- vm-docker-build2
|
||||
- vm-docker-build2
|
||||
steps:
|
||||
- name: Prune unused Docker images
|
||||
run: |
|
||||
@@ -170,103 +168,6 @@ jobs:
|
||||
git push origin --delete "$TEMP_BRANCH" || true
|
||||
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:
|
||||
name: Build & Push Docker Images (${{ matrix.version }})
|
||||
needs:
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
fbe4c3f26d44b3110c08bbe0bfeb2d7bd0b9c26dd7d5008beb5396be11d2424a ../output/bookworm/debian-bookworm.tar.bz2
|
||||
0bd034427f4a42b6108c85afa6979362f4937d709352cb978496da884e4c3e78 ../output/bookworm/debian-bookworm.tar.bz2
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
4849c7a440857d8335bca7bb2383175b66fba10948832dd3fb95fb5154ea0d3a ../output/bullseye/debian-bullseye.tar.bz2
|
||||
843486836f9845d29ed2b7a13479312ce6c08ae8e3b6749c89a8ce121900f928 ../output/bullseye/debian-bullseye.tar.bz2
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
b3859e205785eb108cceb1001e3c5b677e10a9372c4536bc06bfe369fae3e72c ../output/trixie/debian-trixie.tar.bz2
|
||||
d8a9fc0ea78f37a80717a4e6c23ad5de4f5f12ecb5edd879a4df98558c98ebbf ../output/trixie/debian-trixie.tar.bz2
|
||||
|
||||
Reference in New Issue
Block a user