Skip to content

Commit 641d700

Browse files
committed
Add image name as output and rename the timestamp image output
1 parent 4d45ebd commit 641d700

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ inputs:
6363
required: false
6464

6565
outputs:
66-
tags:
66+
image-list:
67+
description: >-
68+
Comma-separated list of image names. For example,
69+
"opensciencegrid/osgvo-docker-pilot:3.6-release,opensciencegrid/osgvo-docker-pilot:3.6-release-20221207-1729"
70+
value: ${{ steps.generate-tags.outputs.tag_list }}
71+
timestamp-image:
6772
description: >-
6873
Image name, including timestamp tag. Intended for use as a unique,
6974
immutable identifier. For example,
@@ -127,7 +132,7 @@ runs:
127132
TIMESTAMP_IMAGE=${IMAGE_NAME}-${TIMESTAMP}
128133
129134
echo "tag_list=${IMAGE_NAME},${TIMESTAMP_IMAGE}" >> ${GITHUB_OUTPUT}
130-
echo "ts_image=${TIMESTAMP-IMAGE}" >> ${GITHUB_OUTPUT}
135+
echo "ts_image=${TIMESTAMP_IMAGE}" >> ${GITHUB_OUTPUT}
131136
echo "cache_key=$(tr ':/' '_' <<< $TIMESTAMP_IMAGE)_buildx_${GITHUB_SHA}" >> ${GITHUB_OUTPUT}
132137
133138
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)