Commit graph

7 commits

Author SHA1 Message Date
503ef5c8df Update variable name from GITHUB_REF_NAME to GIT_REF_NAME
Standardize the environment variable naming for consistency across documentation and scripts. Updated all references in README.md and build.sh, ensuring functionality remains intact.
2025-05-19 13:21:19 +02:00
47dac6b4ef - Add logging of environment variables and build actions
This change introduces logging of key environment variables used during the build process, with sensitive values partially masked for security. It also provides clear messaging on whether the build includes a push to the registry, improving transparency and debugging capabilities.
2025-05-19 13:18:13 +02:00
59791e36bb - Change Dockerfile to run as root user
Switched the user from UID 1000 to root (UID 0) in the Dockerfile. This change allows for operations requiring elevated privileges during container execution. Ensure any downstream implications of running as root are understood and addressed.
2025-05-19 12:55:56 +02:00
f777a7197a - Switch to POSIX-compliant shell and drop root privileges
Replaced bash with sh for broader compatibility, ensuring scripts work with BusyBox/dash. Updated Dockerfile to use non-root user (UID 1000) and adjusted paths and permissions accordingly. Simplified and streamlined variable checks and logic in build.sh.
2025-05-19 12:47:22 +02:00
9395bf30a3 - Update Kaniko configuration and document environment variables ()
This PR closes  - Revised the Kaniko build setup to include a container image, updated mandatory and optional environment variables, and provided examples for fine-tuning options. Expanded the README with a detailed table explaining each variable's purpose and requirements.

Reviewed-on: 
Co-authored-by: Guillaume B.B. Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
Co-committed-by: Guillaume B.B. Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
2025-05-19 10:18:03 +00:00
ddad91c367 - Add custom Kaniko builder and CI workflows ()
Introduce a custom Kaniko-based image for OCI container builds, including a wrapper script (`build.sh`) for flexible execution. Added Forgejo CI workflows for PR, branch, and tag builds, along with detailed documentation in the updated README. Licensed under Apache 2.0.

Reviewed-on: 
Co-authored-by: Guillaume B.B. Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
Co-committed-by: Guillaume B.B. Van Hemmen <GuillaumeHemmen@noreply.git.van-hemmen.com>
2025-05-19 09:48:07 +00:00
b4f487f93b Initial commit 2025-05-19 06:43:33 +00:00