Update .gitea/workflows/base-build.yml
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 9m10s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 18s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 28s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 20s
All checks were successful
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-rootfs-archives (push) Successful in 9m10s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-changelogs (push) Successful in 18s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / build-and-push-docker-images (push) Successful in 28s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / generate-build-info (push) Successful in 20s
This commit is contained in:
@@ -19,7 +19,6 @@ env:
|
|||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
VERSIONS: "buster bullseye bookworm trixie"
|
VERSIONS: "buster bullseye bookworm trixie"
|
||||||
# OUTPUT_DIR: /mnt/unraid_output/act_runner_output
|
|
||||||
OUTPUT_DIR: ./output
|
OUTPUT_DIR: ./output
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -171,6 +170,26 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- 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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user