Hello everybody,
I’m reaching out for help with an issue I’ve encountered while trying to use rpm-ostree
to rebase an OSTree with a custom image that I created and pushed to the GitHub Container Registry (GHCR.io). This image was built following the procedures outlined on the Blue Build site, and everything related to the GitHub actions and image push to GHCR.io concluded successfully.
The command I’m executing is:
rpm-ostree rebase ostree-unverified-registry:ghcr.io/cmlmar/cmdesktop-ublue:latest
However, I am faced with the following error message:
Pulling manifest: ostree-unverified-registry:ghcr.io/cmlmar/cmdesktop-ublue:latest
error: Creating importer: Failed to invoke skopeo proxy method OpenImage: remote error: unable to retrieve auth token: invalid username/password: unauthorized
Before attempting the rebase, I confirmed my successful authentication with GHCR.io via podman login
, ensuring my credentials are correct and I have the necessary permissions to access the image. It’s puzzling because this issue seems specific to the interaction between rpm-ostree
and GHCR.io, given that I can pull other images without encountering this error.
I’m seeking insights or guidance from anyone who may have experienced a similar issue or has knowledge about resolving such authentication challenges, especially when dealing with custom images hosted on GHCR.io. Is there a particular step I might be missing, or a known workaround for integrating custom images with rpm-ostree
?
I greatly appreciate any advice or solutions you might share. Thank you for your time and assistance!