Skip to content

Commit f70658c

Browse files
authored
gh-actions/oci/collector: Make additional tags work (#2832)
Signed-off-by: Ryan Northey <[email protected]>
1 parent 774cc66 commit f70658c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gh-actions/oci/collector/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,12 @@ runs:
110110
metadata: {tag: $manifest_tag}}),
111111
{command: "manifest",
112112
args: ["push", "--all", $manifest_name, "docker://\($manifest_tag)"],
113-
metadata: {tag: $manifest_tag}}]
113+
metadata: {tag: $manifest_tag}},
114+
($additional_tags[]
115+
| "\($registry)/\($name):\(.)" as $additional_tag
116+
| {command: "manifest",
117+
args: ["push", "--all", $manifest_name, "docker://\($additional_tag)"],
118+
metadata: {tag: $additional_tag}})]
114119
- name: Execute buildah operations
115120
uses: envoyproxy/toolshed/gh-actions/[email protected]
116121
id: buildah

0 commit comments

Comments
 (0)