Skip to content
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

[Bug] Fix images that depend on a base image #1748

Closed
3 tasks done
tschaffter opened this issue Jul 10, 2023 · 2 comments · Fixed by #1749, #1750 or #1751
Closed
3 tasks done

[Bug] Fix images that depend on a base image #1748

tschaffter opened this issue Jul 10, 2023 · 2 comments · Fixed by #1749, #1750 or #1751
Assignees
Labels
bug Something isn't working ci Continuous integration docker

Comments

@tschaffter
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

What projects are you seeing the problem on?

OpenChallenges

Current behavior

...
 > [internal] load metadata for docker.io/sagebionetworks/openchallenges-image-service-base:latest:
------
ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

>  Nx Container  Removing temp folder /tmp/docker-build-push-Auo5RZ


 >  NX   buildx failed with: ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

Expected behavior

No response

Anything else?

No response

Commit ID

No response

Are you developing inside the dev container?

  • I am using the dev container

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tschaffter tschaffter added bug Something isn't working ci Continuous integration docker labels Jul 10, 2023
@tschaffter tschaffter self-assigned this Jul 10, 2023
@tschaffter tschaffter changed the title [Bug] Fix image that depends on a base image [Bug] Fix images that depend on a base image Jul 10, 2023
@tschaffter
Copy link
Member Author

tschaffter commented Jul 10, 2023

Unable to access base image when pushing the image

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for ghcr.io/sage-bionetworks/openchallenges-image-service-base:local
#3 ...

#4 [auth] sage-bionetworks/openchallenges-image-service-base:pull token for ghcr.io
#4 DONE 0.0s

#3 [internal] load metadata for ghcr.io/sage-bionetworks/openchallenges-image-service-base:local
#3 ERROR: ghcr.io/sage-bionetworks/openchallenges-image-service-base:local: not found
------
 > [internal] load metadata for ghcr.io/sage-bionetworks/openchallenges-image-service-base:local:
------
ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: ghcr.io/sage-bionetworks/openchallenges-image-service-base:local: not found

References

@tschaffter
Copy link
Member Author

tschaffter commented Jul 10, 2023

Same issue despite using the docker driver. From now on I will work in a branch from upstream and test the "publish" operation, which ends up being a different task altogether.

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [auth] sage-bionetworks/openchallenges-image-service-base:pull token for ghcr.io
#3 DONE 0.0s

#4 [internal] load metadata for ghcr.io/sage-bionetworks/openchallenges-image-service-base:local
#4 ERROR: ghcr.io/sage-bionetworks/openchallenges-image-service-base:local: not found
------
 > [internal] load metadata for ghcr.io/sage-bionetworks/openchallenges-image-service-base:local:
------
ERROR: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: ghcr.io/sage-bionetworks/openchallenges-image-service-base:local: not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment