test
Some checks failed
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bookworm) (push) Failing after 2m28s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bullseye) (push) Failing after 2m15s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (buster) (push) Failing after 2m12s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (docker-build) (push) Failing after 3m24s
Build RootFS Archives and Push Docker Images / build-and-push-docker-images (push) Has been skipped
Some checks failed
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bookworm) (push) Failing after 2m28s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bullseye) (push) Failing after 2m15s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (buster) (push) Failing after 2m12s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (docker-build) (push) Failing after 3m24s
Build RootFS Archives and Push Docker Images / build-and-push-docker-images (push) Has been skipped
This commit is contained in:
@@ -50,16 +50,12 @@ 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
|
||||||
|
|
||||||
found=$(find . -maxdepth 1 -name '*.tar.bz2')
|
found=$(find "$GITHUB_WORKSPACE" -maxdepth 1 -name '*.tar.bz2')
|
||||||
if [ -n "$found" ]; then
|
if [ -n "$found" ]; then
|
||||||
cp $found upload-repo/${{ matrix.version }}/
|
cp $found upload-repo/${{ matrix.version }}/
|
||||||
|
...
|
||||||
cd upload-repo
|
|
||||||
git add ${{ matrix.version }}/*.tar.bz2
|
|
||||||
git commit -m "Update ${{ matrix.version }} base image on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
|
||||||
git push
|
|
||||||
else
|
else
|
||||||
echo "[WARNING] No .tar.bz2 archive found!"
|
echo "[WARNING] No .tar.bz2 archive found in workspace!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user