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
feat(workflows): introduce computed image tag prefix for metadata validation
This update adds a new input, `computed-image-tag-prefix`, to workflows for better handling of image tag prefixes based on backstage compatibility. The validation logic is adjusted to utilize this computed prefix, ensuring accurate OCI tag checks for both compatible and incompatible workspaces.
Assisted-by: Cursor
Signed-off-by: David Festal <dfestal@redhat.com>
Copy file name to clipboardExpand all lines: validate-metadata/action.yaml
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,11 @@ inputs:
14
14
description: Repository prefix for validating OCI reference format in dynamicArtifact
15
15
required: false
16
16
default: ""
17
-
image-tag-prefix:
18
-
description: OCI image tag prefix used by the export (e.g., "bs_1.48.3__", "next__", "pr_42__"). When "next__", OCI tag validation is skipped since the workspace is backstage-incompatible.
17
+
computed-image-tag-prefix:
18
+
description: >
19
+
The computed image tag prefix reflecting backstage compatibility
20
+
(e.g., "bs_1.48.3__" for compatible, "next__" for incompatible).
21
+
When "next__", OCI tag validation is skipped since the workspace is backstage-incompatible.
0 commit comments