feat: add MAVEN_SETTINGS_PATH
All checks were successful
Release / release (push) Successful in 3m2s

This commit is contained in:
lucasdpt
2025-11-24 12:45:04 +01:00
parent 940ed22a60
commit d8990636a3
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ set -euo pipefail
# then exec the container command.
M2_DIR="${HOME:-/root}/.m2"
SETTINGS_FILE="$M2_DIR/settings.xml"
# Export the path to the settings.xml so downstream processes can read it
export MAVEN_SETTINGS_PATH="$SETTINGS_FILE"
if [[ -n "${MAVEN_SETTINGS_BASE64:-}" ]]; then
mkdir -p "$M2_DIR"