Code Monkey home page Code Monkey logo

Comments (8)

elrido avatar elrido commented on June 12, 2024 1

Thank you for providing more details. If I understand correctly, the images themselves would work, even though they are now stored in a different format, but the manifest created by docker buildx now contains information that docker (on the clients) can't parse (docker manifest inspect command), which in turn prevents watchtower from finding the updated image. Reading the linked issues, it certainly sounds like disabling the "provinence" in our buildx command would be a feasible workaround till the various tools have sorted themselves out.

docker buildx build \
--platform linux/amd64,linux/386,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le \
--pull \
--no-cache \
--push \
$@ \
.

from docker-nginx-fpm-alpine.

stanthewizzard avatar stanthewizzard commented on June 12, 2024 1

And it works no more warning. Thanks 👍🏻

from docker-nginx-fpm-alpine.

elrido avatar elrido commented on June 12, 2024

What is broken in the images and which image and tag specifically do you have an issue with?

from docker-nginx-fpm-alpine.

stanthewizzard avatar stanthewizzard commented on June 12, 2024

This may be due to the recent buildx change due to the Github Ubuntu Runner being upgraded:

docker/build-push-action#755

This results in images being pushed whose manifests cannot be parsed due to these issues:

moby/moby#43126

docker/buildx#1509

I didn't get time to verify via the API for a failing image (https://github.com/AnalogJ/scrutiny, specifically the collector) but the docker manifest inspect command does fail for it and docker buildx imagetools inspect shows that it's an oci image.

from docker-nginx-fpm-alpine.

stanthewizzard avatar stanthewizzard commented on June 12, 2024

Apparently it's also possilbe to do that:

No need to pin to previous release v0.9.1, repo can just disable provenance as shown in docker/buildx#1513 (comment)

Also OCI images are around for a few years now so I think Watchtower should support them instead.

from docker-nginx-fpm-alpine.

stanthewizzard avatar stanthewizzard commented on June 12, 2024

From
docker/buildx#1513 (comment)

This is a build option so in build-push-action:

  • name: Build and push
    uses: docker/build-push-action@v3
    with:
    push: true
    provenance: false
    tags: user/app:latest
    Or if you invoke buildx directly then docker buildx build --provenance false ....

from docker-nginx-fpm-alpine.

elrido avatar elrido commented on June 12, 2024

Let me know if this works out after the nightly build at midnight (UTC) pushes the next image.

from docker-nginx-fpm-alpine.

stanthewizzard avatar stanthewizzard commented on June 12, 2024

I'll check
thanks

from docker-nginx-fpm-alpine.

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.