dfsgdsfgg
All checks were successful
Build Alpine RootFS and Docker Image (latest) / build-and-push (push) Successful in 5s
Build Alpine RootFS and Docker Image (latest) / push-docker (push) Successful in 3s
Build Alpine RootFS and Docker Image (latest) / update-changelog (push) Successful in 3s
Build Alpine RootFS and Docker Image (latest) / update-build-info (push) Successful in 3s

This commit is contained in:
2025-07-06 21:21:11 -07:00
parent cf039160bc
commit 19ba275a07

View File

@@ -125,6 +125,10 @@ jobs:
runs-on: docker-build2
steps:
- name: Clone repo with token auth
run: |
git clone https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git upload-repo
- name: Generate build-info.json
run: |
cd upload-repo
@@ -152,15 +156,17 @@ jobs:
- name: Commit build-info.json
run: |
cd upload-repo
git config user.name "${{ secrets.GIT_USERNAME }}"
git config user.email "${{ secrets.GIT_EMAIL }}"
git add "${{ env.OUTPUT_DIR }}/build-info.json"
if git status --porcelain | grep .; then
git commit -m "Update build-info for latest"
git push
git push https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git
git tag -d "build-latest" 2>/dev/null || true
git tag "build-latest"
git push origin "build-latest" --force
git push https://${{ secrets.GIT_USERNAME }}:${{ secrets.GIT_TOKEN }}@gitea.fithwum.tech/fithwum/alpine-base.git --tags
fi