build test fix
All checks were successful
Build, Upload RootFS, and Push Docker Images / build-rootfs-archives (push) Successful in 6m53s
Build, Upload RootFS, and Push Docker Images / push-archives-to-repo (push) Successful in 58s
Build, Upload RootFS, and Push Docker Images / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images / generate-changelogs (push) Has been skipped
All checks were successful
Build, Upload RootFS, and Push Docker Images / build-rootfs-archives (push) Successful in 6m53s
Build, Upload RootFS, and Push Docker Images / push-archives-to-repo (push) Successful in 58s
Build, Upload RootFS, and Push Docker Images / build-and-push-docker-images (push) Has been skipped
Build, Upload RootFS, and Push Docker Images / generate-changelogs (push) Has been skipped
This commit is contained in:
@@ -70,6 +70,7 @@ jobs:
|
||||
done
|
||||
|
||||
- name: Commit and push archives if changed
|
||||
id: commit_archives
|
||||
run: |
|
||||
cd upload-repo
|
||||
git config --global user.name "${{ env.GIT_USERNAME }}"
|
||||
@@ -79,12 +80,15 @@ jobs:
|
||||
git add **/*.tar.bz2
|
||||
git commit -m "Update base images on $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
||||
git push
|
||||
echo "archives_changed=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "[INFO] No changes to commit."
|
||||
echo "archives_changed=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
build-and-push-docker-images:
|
||||
needs: push-archives-to-repo
|
||||
if: needs.push-archives-to-repo.outputs.archives_changed == 'true'
|
||||
runs-on: docker-build
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user