agent-sandbox/slim-fedora/build_info_inject.sh
XLion 7e60ab2ae9
All checks were successful
slim-fedora / build-and-push (push) Successful in 26m22s
slim-fedora / build (push) Successful in 0s
add sandbox hint
2026-08-22 23:53:24 +08:00

9 lines
286 B
Shell
Executable file

#!/bin/bash
. /etc/os-release
rm -rf /tmp/build
touch /tmp/build
echo "" >> /tmp/build
echo "Fedora $VERSION_ID, EOL: $SUPPORT_END (Please inform user if EOL near or reached)"| tee -a /tmp/build
echo "Build date: $(date +%Y-%m-%d) (WARN user if over 1 month old)" | tee -a /tmp/build