Skip to content

feat(docker)!: add digest to images uri#455

Merged
neilime merged 1 commit intomainfrom
feat/docker-build-images-add-final-digest
Jul 11, 2025
Merged

feat(docker)!: add digest to images uri#455
neilime merged 1 commit intomainfrom
feat/docker-build-images-add-final-digest

Conversation

@neilime
Copy link
Copy Markdown
Member

@neilime neilime commented Jul 11, 2025

To improve security, now docker-build-images workflow is returning the images uri with this format: registry/name:tag@digest.

It returns also the "digest" of the image(s).

The digests (note the "s") does not exist anymore.

Example:

{
  "application": {
    "name": "application",
    "registry": "ghcr.io",
    "repository": "my-org/my-repo/application",
    "tags": ["pr-63-5222075","pr-63"],
    "images": [
      "ghcr.io/my-org/my-repo/application:pr-63-5222075@sha256:d31aa93410434ac9dcfc9179cac2cb1fd4d7c27f11527addc40299c7c675f49d",
      "ghcr.io/my-org/my-repo/application:pr-63@sha256:d31aa93410434ac9dcfc9179cac2cb1fd4d7c27f11527addc40299c7c675f49d"
    ],
    "digest": "sha256:d31aa93410434ac9dcfc9179cac2cb1fd4d7c27f11527addc40299c7c675f49d",
    "annotations": {
      "org.opencontainers.image.created": "2021-09-30T14:00:00Z",
      "org.opencontainers.image.description": "Application image"
    }
  }
}

@neilime neilime self-assigned this Jul 11, 2025
@neilime neilime force-pushed the feat/docker-build-images-add-final-digest branch 16 times, most recently from 5d9de15 to f9216aa Compare July 11, 2025 17:16
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
@neilime neilime force-pushed the feat/docker-build-images-add-final-digest branch from f9216aa to 5b26d50 Compare July 11, 2025 17:21
@neilime neilime merged commit 9a6f9d6 into main Jul 11, 2025
48 checks passed
@neilime neilime deleted the feat/docker-build-images-add-final-digest branch July 11, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant