unable to auth to rebase my image

podman login ghcr.io
Authenticating with existing credentials for ghcr.io
Existing credentials are valid. Already logged in to ghcr.io
thaleous@bazzite:~$ rpm-ostree rebase ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os
Pulling manifest: ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os
error: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: unable to retrieve auth token: invalid username/password: unauthorized
podman login ghcr.io
Authenticating with existing credentials for ghcr.io
Existing credentials are valid. Already logged in to ghcr.io
thaleous@bazzite:~$ rpm-ostree rebase ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os
Pulling manifest: ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os
error: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: unable to retrieve auth token: invalid username/password: unauthorized
2 Replies
thaleous
thaleousOP3mo ago
im using my github's username and a token that has read packages access
podman pull ghcr.io/m3m3-0s/meme-os
Trying to pull ghcr.io/m3m3-0s/meme-os:latest...
Getting image source signatures
Copying blob 58d31e900f00 [>--------------------] 3.5MiB / 81.4MiB | 147.6 KiB/s
Copying blob bc829676edc3 [======>----------------] 2.4MiB / 7.3MiB | 43.4 KiB/s
podman pull ghcr.io/m3m3-0s/meme-os
Trying to pull ghcr.io/m3m3-0s/meme-os:latest...
Getting image source signatures
Copying blob 58d31e900f00 [>--------------------] 3.5MiB / 81.4MiB | 147.6 KiB/s
Copying blob bc829676edc3 [======>----------------] 2.4MiB / 7.3MiB | 43.4 KiB/s
i was able to successfully pull my image, does it mean that my issue is with rpm-ostree okay so i found the solution, apparently my image package itself was private for some reason maybe because the repo was private at first or because it is an organization repo, either way to solve this you have to first allow packages to be changed to public then actually change it's visibility
Luke Skywunker
Luke Skywunker3mo ago
Yeah, we've seen that issue with a few of our other users. Haven't seen it in a while.
Want results from more Discord servers?
Add your server