You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1a23c3d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docker-build/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,14 @@ Perfect for teams looking to streamline their containerization workflow with min
53
53
|`username`| Username for Docker Registry authentication | When `push: true`|
54
54
|`password`| Password or Personal Access Token for Docker registry authentication (with appropriate permissions) | When `push: true`|
55
55
56
+
## 📤 Outputs
57
+
58
+
| Name | Description |
59
+
| --- | --- |
60
+
|`checksum`| Checksum (`0x...`) of the Docker image |
61
+
62
+
The built image tag, digest and checksum are visible on the workflow run summary.
63
+
56
64
## 💻 Example Usage
57
65
58
66
```yaml
@@ -93,6 +101,7 @@ jobs:
93
101
- 🔒 Ensure your Docker Registry credentials are stored securely as GitHub Secrets
94
102
- 🔄 The workflow will automatically handle the Docker build and push process
95
103
- 🏷️ You can specify any valid Docker tag format in the `tag` input
104
+
- 📤 When `push: true`, the applied tag is also saved as a `docker-image-tag` artifact, so `docker-promote` can promote the exact image CI built for a commit rather than reconstruct its tag
96
105
- 📅 Consider using dynamic tags based on git tags, commit SHAs, or dates
97
106
- 🧪 For testing purposes, you can use the `--dry-run` flag in your own implementation
98
107
- 📜 When `attest: true`, the attestation is only generated if `push: true`, and the **caller** workflow must grant the following permissions:
0 commit comments