Closed mlookaxw closed 3 months ago
Building the package via GitHub Actions generates a corrupt package.
Workaround: Build local until pipeline is fixed.
$ ./mvnw clean package
$ docker build -t yamles-utils:latest .
$ docker run -ti --rm yamles-utils:latest -h
Usage: yamlesutils [-hqVv] [-a=FILE] [COMMAND]
YAML Entity Store Utilities
-a, --audit=FILE Audit file.
-h, --help Show this help message and exit.
-q, --quiet Disable info log message to the console.
-v, --verbose Increase logging verbosity.
-V, --version Print version information and exit.
Commands:
help Display help information about the specified command.
merge Merge configuration from various sources.
lint Lint YAML entity store.
config Configure YAML-ES. Combines the 'lint', 'merge config' and 'merge
certs' commands.
eval Evalulates a template expression.
Docker image fixed.
$ docker run -ti --rm \
-e "NAME=Martin" \
ghcr.io/axway-api-management-plus/yamles-utils:0.7.1 \
-q eval "Hello {{ _env('NAME') }}!" \
&& echo
Hello Martin!
Executing the tool using Docker images fails.