The Shipwright github action fails as the lifecycle during analyze phase (and go-containerregistry lib) reported the following error as it cannot access locally the registry
2023/05/12 16:51:37 Entrypoint initialization
> Creating the cache directory if it is not empty
> Creating cache: /layers/cache
> Setting permissions on '/tekton/home'...
> Setting permissions on '/layers'...
> Setting permissions on '/workspace/source'...
> Parsing additional configuration...
-> Parsing env variables...
> Processing any environment variables...
--> Creating 'env' directory: /platform/env
--> Writing /platform/env/BP_NATIVE_IMAGE...
--> Writing /platform/env/BP_MAVEN_BUILT_ARTIFACT...
--> Writing /platform/env/BP_MAVEN_BUILD_ARGUMENTS...
ERROR: failed to initialize analyzer: validating registry read access: ensure registry read access to localhost:5000/quarkus-shipwright-hello:1.0
Issue
The
Shipwright
github action fails as the lifecycle duringanalyze
phase (and go-containerregistry lib) reported the following error as it cannot access locally the registry