dfhfdsghfdgh
Some checks failed
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 (trixie) (push) Failing after 5m31s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build rootfs (bullseye) (push) Failing after 6m55s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build rootfs (bookworm) (push) Failing after 7m59s
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. / 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-build-info (push) Has been skipped
Some checks failed
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 (trixie) (push) Failing after 5m31s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build rootfs (bullseye) (push) Failing after 6m55s
Build, Upload RootFS, and Push Docker Images, update changelog, update build info. / Build rootfs (bookworm) (push) Failing after 7m59s
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. / 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-build-info (push) Has been skipped
This commit is contained in:
@@ -144,34 +144,26 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Create output directory
|
- name: Build rootfs image
|
||||||
run: mkdir -p ${{ env.OUTPUT_DIR }}
|
|
||||||
|
|
||||||
- name: Build rootfs Docker image
|
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ matrix.version }}
|
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg VERSION="$VERSION" \
|
--build-arg VERSION=${{ matrix.version }} \
|
||||||
-t rootfs-$VERSION .
|
-t rootfs-${{ matrix.version }} .
|
||||||
|
|
||||||
- name: Run rootfs bootstrap
|
- name: Run rootfs bootstrap
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ matrix.version }}
|
VERSION=${{ matrix.version }}
|
||||||
|
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
|
|
||||||
docker run --rm --privileged \
|
docker run --rm --privileged \
|
||||||
-v "$(pwd)/output:/output" \
|
-v "$(pwd)/output:/output" \
|
||||||
rootfs-$VERSION \
|
rootfs-$VERSION \
|
||||||
bash -c "/scripts/bootstrap-rootfs.sh $VERSION"
|
bash -c "/scripts/bootstrap-rootfs.sh $VERSION"
|
||||||
|
|
||||||
TAR="output/debian-$VERSION.tar.bz2"
|
if [[ ! -f "output/debian-$VERSION.tar.bz2" ]]; then
|
||||||
if [[ ! -f "$TAR" ]]; then
|
echo "[ERROR] output/debian-$VERSION.tar.bz2 missing"
|
||||||
echo "[ERROR] Rootfs tarball missing: $TAR"
|
ls -lh output || true
|
||||||
ls -lh output
|
|
||||||
exit 1
|
exit 1
|
||||||
else
|
|
||||||
echo "[OK] Created $TAR"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Clone upload repo
|
- name: Clone upload repo
|
||||||
@@ -184,16 +176,14 @@ jobs:
|
|||||||
VERSION=${{ matrix.version }}
|
VERSION=${{ matrix.version }}
|
||||||
|
|
||||||
mkdir -p upload/$VERSION
|
mkdir -p upload/$VERSION
|
||||||
cp "${{ env.OUTPUT_DIR }}/debian-$VERSION.tar.bz2" upload/$VERSION/
|
cp "output/debian-$VERSION.tar.bz2" "upload/$VERSION/"
|
||||||
|
|
||||||
cd upload
|
cd upload
|
||||||
sed -i "/debian-$VERSION.tar.bz2/d" sha256sums.txt 2>/dev/null || true
|
sed -i "/debian-$VERSION.tar.bz2/d" sha256sums.txt 2>/dev/null || true
|
||||||
sha256sum "$VERSION/debian-$VERSION.tar.bz2" >> sha256sums.txt
|
sha256sum "$VERSION/debian-$VERSION.tar.bz2" >> sha256sums.txt
|
||||||
|
|
||||||
- name: Commit if changed
|
- name: Commit and push if changed
|
||||||
run: |
|
run: |
|
||||||
VERSION=${{ matrix.version }}
|
|
||||||
|
|
||||||
cd upload
|
cd upload
|
||||||
git config user.name "$GIT_USERNAME"
|
git config user.name "$GIT_USERNAME"
|
||||||
git config user.email "$GIT_EMAIL"
|
git config user.email "$GIT_EMAIL"
|
||||||
|
|||||||
Reference in New Issue
Block a user