redhat-buildpacks / testing

Project aiming to help us to perform e2e tests using Buildpacks
Apache License 2.0
0 stars 3 forks source link

Shipwright: The github action fails as lifecycle -> go-containerregistry lib cannot access localy the registry #19

Open cmoulliard opened 1 year ago

cmoulliard commented 1 year ago

Issue

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