-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCI docker push fails #675
Closed
andriy-dmytruk opened this issue
Mar 20, 2023
· 2 comments
· Fixed by micronaut-projects/micronaut-core#8980
Closed
OCI docker push fails #675
andriy-dmytruk opened this issue
Mar 20, 2023
· 2 comments
· Fixed by micronaut-projects/micronaut-core#8980
Comments
alvarosanchez
added a commit
to micronaut-projects/micronaut-core
that referenced
this issue
Mar 21, 2023
The error goes away with the latest version of Jib. I've created a PR to bump to that version, but we can only include it in Micronaut 3.9.x. In the meantime, you can set the property |
@alvarosanchez This fixes the issue. Thank you |
alvarosanchez
added a commit
to micronaut-projects/micronaut-core
that referenced
this issue
Mar 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduce
As described in the Deploy serverless application to OCI guide:
mn create-function-app --build=maven --jdk=17 --lang=java --test=junit --features=graalvm,oracle-function com.example.demo
<jib.docker.image>[REGION].ocir.io/[TENANCY]/[REPO]/${project.artifactId}</jib.docker.image>
docker login ....ocir.io
and then run./mvnw deploy -Dpackaging=docker
Error
Full log: log.txt, stacktrace: stacktrace.txt.
Seems like the issue is when pulling
fn-java-fdk
and some kind of oci accept header is missing in the request. But when I rundocker pull fnproject/fn-java-fdk:latest
, it works fine.Not sure if the problem is similar to this one: fraunhoferfokus/deckschrubber#43
The text was updated successfully, but these errors were encountered: