Git Product home page Git Product logo

Comments (2)

marksalpeter avatar marksalpeter commented on August 19, 2024 1

Yep, me again šŸ˜…

In general it might be useful to have a way to add labels in the workflow.

For example, Iā€™m using conventional commits to autogen my changelog during the cd pipeline. So initially I though it would be nice to use that changelog in the containers read me.

Thanks for the info about opencontainers.image.description. Super valuable.

from docker-build-push.

mr-smithers-excellent avatar mr-smithers-excellent commented on August 19, 2024

You again?! :-)

According to this that can be achieved through Docker labels applied in two possible approaches:

  1. Dockerfile level
LABEL org.opencontainers.image.description="A short text-only description that will appear on the containers page."
  1. docker build level
docker build --label "org.opencontainers.image.description=A short text-only description that will appear on the containers page."

If the Dockerfile approach doesn't meet your needs, I would suggest we abstract this feature request to instead add support for labels during build time. It may be slightly easier to version-control that sort of a lengthy description in the Dockerfile vs the Actions .yml config. Let me know your thoughts.

from docker-build-push.

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.