update added icon for alpine
This commit is contained in:
@@ -1,66 +0,0 @@
|
|||||||
name: Build and Upload Multiple Debian RootFS Versions
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
# paths:
|
|
||||||
# - 'base-image-script/**'
|
|
||||||
|
|
||||||
schedule:
|
|
||||||
- cron: '0 12 * * 0'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-debian-variants:
|
|
||||||
runs-on: docker-build
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
version: [buster, bullseye, bookworm, docker-build]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout source
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Build Docker image for ${{ matrix.version }}
|
|
||||||
run: |
|
|
||||||
docker build \
|
|
||||||
--build-arg VERSION=${{ matrix.version }} \
|
|
||||||
-t fithwum/debian-${{ matrix.version }}-base .
|
|
||||||
|
|
||||||
- name: Run rootfs builder (pt1 script)
|
|
||||||
run: |
|
|
||||||
docker run --rm --privileged \
|
|
||||||
-v "$(pwd)":/output \
|
|
||||||
fithwum/debian-${{ matrix.version }}-base \
|
|
||||||
bash base-image-script/debian-${{ matrix.version }}_pt1.sh
|
|
||||||
|
|
||||||
- name: List output archive
|
|
||||||
run: |
|
|
||||||
echo "[INFO] Looking for tarballs in workspace..."
|
|
||||||
find . -name '*.tar.bz2' -ls
|
|
||||||
|
|
||||||
- name: Clone and push to Gitea repo
|
|
||||||
run: |
|
|
||||||
git config --global user.name "${{ secrets.GIT_USERNAME }}"
|
|
||||||
git config --global user.email "${{ secrets.GIT_EMAIL }}"
|
|
||||||
|
|
||||||
git clone "${{ secrets.REPO_URL }}" upload-repo
|
|
||||||
|
|
||||||
# Ensure target folder exists and clean old tarballs
|
|
||||||
mkdir -p upload-repo/${{ matrix.version }}
|
|
||||||
find upload-repo/${{ matrix.version }} -name '*.tar.bz2' -type f -delete
|
|
||||||
|
|
||||||
# Safely copy tarballs (if any)
|
|
||||||
found=$(find . -maxdepth 1 -name '*.tar.bz2')
|
|
||||||
if [ -n "$found" ]; then
|
|
||||||
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
|
|
||||||
echo "[WARNING] No .tar.bz2 archive found in workspace!"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
BIN
icons/alpine.png
Normal file
BIN
icons/alpine.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 379 KiB |
BIN
icons/gitlab.png
BIN
icons/gitlab.png
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user