Giter Site home page Giter Site logo

Comments (9)

tetchel avatar tetchel commented on May 30, 2024 3

The podman team is treating this as a bug (see linked issue) so we will wait for a fix on their end. Again, you may use ubuntu-18.04 in the meantime.

We are adding a test case which pulls the newest podman version so hopefully next time we can catch any upcoming issues before podman is updated in the GitHub runners.

from push-to-registry.

divyansh42 avatar divyansh42 commented on May 30, 2024 1

Ubuntu 20.04 is updated with podman version 3.3.1.
This update should fix this issue.

from push-to-registry.

divyansh42 avatar divyansh42 commented on May 30, 2024

This issue is probably happening after the Github actions virtual environment picked up Podman version 3.2.2. When you pull the image from the local docker daemon. By default, localhost gets added in front of the image name that got pulled.

Example:

Image name in Docker daemon Image name after pulling it to Podman
myimage localhost/myimage
namespace/myimage localhost/namespace/myimage
quay.io/namespace/myimage localhost/quay.io/namespace/myimage

Earlier behavior was very different.
Example:

Image name in Docker daemon Image Name after pulling it to Podman
myimage docker.io/library/myimage
namespace/myimage docker.io/namespace/myimage
quay.io/namespace/myimage quay.io/namespace/myimage

We will update this action based on the above changes as soon as possible.

from push-to-registry.

divyansh42 avatar divyansh42 commented on May 30, 2024

As we are finding the best possible solution.
Meanwhile, you can use the Ubuntu version ubuntu-18.04 that is still using Podman version 3.0.1.
Reference: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md

Probably this will fix this issue temporarily.

from push-to-registry.

tetchel avatar tetchel commented on May 30, 2024

The 20.04 podman version jumped from 3.1.2 to 3.2.2 (ref)
So, the change was introduced somewhere between those two versions, likely in 3.2.0

I do not see any obvious reference to this change in the podman release notes, but we have to figure out exactly which version changed this behaviour, so we can handle it in the right cases.

from push-to-registry.

divyansh42 avatar divyansh42 commented on May 30, 2024

Yes, I also tried to find out that but there is nothing in the release docs of all the versions after 3.1.2 and there doesn't seem to be a way to install older versions of the podman to check this out manually. (ref: containers/podman#10148)

from push-to-registry.

andmos avatar andmos commented on May 30, 2024

FYI, I think (?) I see this error with podman 3.2.3 also,

Tags "2.0.6, ab37703" of "ip-avgivelser" found in Docker image storage
"docker.io/library/ip-avgivelser" was found in the Docker image storage, but not in the Podman image storage. The image(s) will be pulled into Podman image storage, pushed, and then removed from the Podman image storage.
⏳ Pushing "docker.io/library/ip-avgivelser" with tags "2.0.6, ab37703" to "ghcr.io/domstolene" as "domstolene"
Combining image name "ip-avgivelser" and registry "ghcr.io/domstolene" to form registry path "ghcr.io/domstolene/ip-avgivelser"
/usr/bin/podman push --quiet --digestfile docker.io-library-ip-avgivelser-2.0.6_digest.txt docker.io/library/ip-avgivelser:2.0.6 ghcr.io/domstolene/ip-avgivelser:2.0.6 --tls-verify=true --creds=domstolene:***
Error: docker.io/library/ip-avgivelser:2.0.6: image not known
Error: podman exited with code 125
Error: docker.io/library/ip-avgivelser:2.0.6: image not known

from push-to-registry.

divyansh42 avatar divyansh42 commented on May 30, 2024

Podman 3.2.3 is released 18 days ago and they have fixed this issue after this release, since then they haven't done any release.
I am assuming the next release will have a fix for this.

from push-to-registry.

tetchel avatar tetchel commented on May 30, 2024

Podman 3.3.1 should resolve this but it has not been picked up by GitHub runners yet.

from push-to-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.