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
| `DOCKER_METADATA_PR_HEAD_SHA` | Bool | If `true`, set associated head SHA instead of commit SHA that triggered the workflow on pull request event |
366
-
| `DOCKER_METADATA_ANNOTATIONS_LEVELS` | String | Comma separated list of annotations levels to set for annotations output separated (default `manifest`) |
| `DOCKER_METADATA_PR_HEAD_SHA` | Bool | If `true`, set associated head SHA instead of commit SHA that triggered the workflow on pull request event |
366
+
| `DOCKER_METADATA_SHORT_SHA_LENGTH` | Number | Specifies the length of the [short commit SHA](#typesha) to ensure uniqueness. Default is `12`, but can be increased for larger repositories. |
367
+
| `DOCKER_METADATA_ANNOTATIONS_LEVELS` | String | Comma separated list of annotations levels to set for annotations output separated (default `manifest`) |
367
368
368
369
## `context` input
369
370
@@ -722,7 +723,26 @@ tags: |
722
723
type=sha,format=long
723
724
```
724
725
725
-
Output Git short commit (or long if specified) as Docker tag like `sha-ad132f5`.
726
+
Output Git short commit (or long if specified) as Docker tag like
727
+
`sha-860c1904a1ce`.
728
+
729
+
By default, the length of the short commit SHA is `12` characters. You can
730
+
increase this length for larger repositories by setting the
0 commit comments