armbian-next: GHA & rootfs adventures, pt 1

- rootfs: create readonly global `rootfs_cache_id` (type+hash+date/version)
- add "oras-upload" CLI command (dumb, no retries, single target/single source)
- docker: mount-bind for & re-pass envs `GITHUB_OUTPUT` and `GITHUB_STEP_SUMMARY` down to Docker
- introduce `github-actions.sh::github_actions_add_output()`
- during logs cleanup, dump the Markdown log into GITHUB_STEP_SUMMARY if it is available
This commit is contained in:
Ricardo Pardini
2023-01-24 03:24:38 +01:00
parent 7f74b2e83f
commit 1cec42392e
9 changed files with 113 additions and 5 deletions

View File

@@ -23,5 +23,7 @@ function cli_requirements_run() {
LOG_SECTION="install_host_dependencies" do_with_logging install_host_dependencies "for requirements command"
# @TODO: get stuff like shellcheck, shfmt, and ORAS in here. Deploy them somewhere not-in-./cache, so it's baked into Docker image.
display_alert "Done with" "@host dependencies" "cachehit"
}