File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
actions/docker-import-digests-push-manifest Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ inputs:
2020 description : |
2121 Whether to push the manifest to the configured registries.
2222 default : " false"
23+ tags :
24+ description : | # TODO fill this in and update README
25+ tagsum ipsum
26+ required : true
2327
2428runs :
2529 using : composite
@@ -99,12 +103,18 @@ runs:
99103 if : ${{ steps.prepare-vars.outputs.include-dockerhub == 'true' }}
100104 uses : ./_shared-workflows-docker-import-digests-push-manifest/actions/dockerhub-login
101105
106+ - name : Extract metadata (tags, labels) for Docker
107+ id : meta
108+ uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
109+ with :
110+ images : ${{ inputs.images }}
111+ tags : ${{ inputs.tags }}
112+
102113 - name : Create manifest list and push
103114 working-directory : ${{ runner.temp }}/digests
104115 shell : bash
105116 env :
106117 IMAGES : ${{ inputs.images }}
107- DOCKER_METADATA_OUTPUT_JSON : ${{ inputs.docker-metadata-json }}
108118 PUSH : ${{ inputs.push }}
109119 run : |
110120 set -euo pipefail
@@ -136,8 +146,6 @@ runs:
136146 - name : Inspect image
137147 shell : bash
138148 if : ${{ inputs.push == 'true' }}
139- env :
140- DOCKER_METADATA_OUTPUT_JSON : ${{ inputs.docker-metadata-json }}
141149 run : |
142150 for tag in $(jq -r '.tags[]' <<< "$DOCKER_METADATA_OUTPUT_JSON"); do
143151 echo ""
You can’t perform that action at this time.
0 commit comments