test
Some checks failed
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (bookworm) (push) Failing after 2m8s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (bullseye) (push) Failing after 1m54s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (buster) (push) Failing after 1m45s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (docker-build) (push) Failing after 2m55s
Some checks failed
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (bookworm) (push) Failing after 2m8s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (bullseye) (push) Failing after 1m54s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (buster) (push) Failing after 1m45s
Build and Upload Multiple Debian RootFS Versions / build-debian-variants (docker-build) (push) Failing after 2m55s
This commit is contained in:
@@ -51,10 +51,16 @@ jobs:
|
|||||||
mkdir -p upload-repo/${{ matrix.version }}
|
mkdir -p upload-repo/${{ matrix.version }}
|
||||||
find upload-repo/${{ matrix.version }} -name '*.tar.bz2' -type f -delete
|
find upload-repo/${{ matrix.version }} -name '*.tar.bz2' -type f -delete
|
||||||
|
|
||||||
# Copy new tarball to version folder
|
# Safely copy tarballs (if any)
|
||||||
cp *.tar.bz2 upload-repo/${{ matrix.version }}/
|
found=$(find . -maxdepth 1 -name '*.tar.bz2')
|
||||||
|
if [ -n "$found" ]; then
|
||||||
|
cp $found upload-repo/${{ matrix.version }}/
|
||||||
|
|
||||||
cd upload-repo
|
cd upload-repo
|
||||||
git add ${{ matrix.version }}/*.tar.bz2
|
git add ${{ matrix.version }}/*.tar.bz2
|
||||||
git commit -m "Update ${{ matrix.version }} base image on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
git commit -m "Update ${{ matrix.version }} base image on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
||||||
git push
|
git push
|
||||||
|
else
|
||||||
|
echo "[WARNING] No .tar.bz2 archive found in workspace!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user