Git Product home page Git Product logo

Comments (1)

crazy-max avatar crazy-max commented on June 5, 2024 1

metadata output already contains containerimage.digest for all built targets: https://github.com/docker/bake-action/actions/runs/5222125090/jobs/9427226905#step:5:234

  {
    "t1": {
      "containerimage.buildinfo": {
        "frontend": "gateway.v0",
        "attrs": {
          "cmdline": "docker/dockerfile:1",
          "filename": "Dockerfile",
          "source": "docker/dockerfile:1",
          "target": "t1",
          "vcs:revision": "eb348b10d62f5f6e9386118f8dc00e45aac33aa7",
          "vcs:source": "https://github.com/docker/bake-action"
        },
        "sources": [
          {
            "type": "docker-image",
            "ref": "docker.io/docker/dockerfile:1",
            "pin": "sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14"
          },
          {
            "type": "docker-image",
            "ref": "docker.io/library/busybox:latest",
            "pin": "sha256:560af6915bfc8d7630e50e212e08242d37b63bd5c1ccf9bd4acccf116e262d5b"
          }
        ]
      },
      "containerimage.descriptor": {
        "mediaType": "application/vnd.oci.image.index.v1+json",
        "digest": "sha256:38810b25e60cc4b990aaaac46d4aac25674b062a130eae5c3727ed7276e0eb77",
        "size": 855
      },
      "containerimage.digest": "sha256:38810b25e60cc4b990aaaac46d4aac25674b062a130eae5c3727ed7276e0eb77",
      "image.name": "localhost:5000/name/app:t1"
    },
    "t2": {
      "containerimage.buildinfo": {
        "frontend": "gateway.v0",
        "attrs": {
          "cmdline": "docker/dockerfile:1",
          "filename": "Dockerfile",
          "source": "docker/dockerfile:1",
          "target": "t2",
          "vcs:revision": "eb348b10d62f5f6e9386118f8dc00e45aac33aa7",
          "vcs:source": "https://github.com/docker/bake-action"
        },
        "sources": [
          {
            "type": "docker-image",
            "ref": "docker.io/docker/dockerfile:1",
            "pin": "sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14"
          },
          {
            "type": "docker-image",
            "ref": "docker.io/library/busybox:latest",
            "pin": "sha256:560af6915bfc8d7630e50e212e08242d37b63bd5c1ccf9bd4acccf116e262d5b"
          }
        ]
      },
      "containerimage.descriptor": {
        "mediaType": "application/vnd.oci.image.index.v1+json",
        "digest": "sha256:0212cde084fda12a3b7478248fad57e121727eac6492c11abad4f5a1288b82e5",
        "size": 855
      },
      "containerimage.digest": "sha256:0212cde084fda12a3b7478248fad57e121727eac6492c11abad4f5a1288b82e5",
      "image.name": "localhost:5000/name/app:t2"
    }
  }

from bake-action.

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.