jenkinsci / jenkinsci/docker-workflow-plugin
[JENKINS-67835] Return Docker image digest in Docker Pipeline Plugin's build() or push() steps
- Dominant language
- Java
- Stars
- 527
- Forks
- 422
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
In Docker Workflow plugin, the build(), push(), and tag() steps are based on tags. There are use cases in which users want to use the image digest to:
(a) push a digest without pushing a tag, or
(b) deploy containers using a fixed digest, or
(c) sign particular a container digest (using tools like https://github.com/sigstore/cosign).
In these cases, it would be helpful for the `build()`, `push()` or `tag()` commands to return the image digest along with the tags.
---
Originally reported by
nghia, imported from: Return Docker image digest in Docker Pipeline Plugin's build() or push() steps
csanchez
Raw content of original issue
In Docker Workflow plugin, the build(), push(), and tag() steps are based on tags. There are use cases in which users want to use the image digest to:
(a) push a digest without pushing a tag, or
(b) deploy containers using a fixed digest, or
(c) sign particular a container digest (using tools like https://github.com/sigstore/cosign).
In these cases, it would be helpful for the `build()`, `push()` or `tag()` commands to return the image digest along with the tags.
Contributor guide
Assessment
This issue has not been assessed yet.