File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,12 +27,18 @@ jobs:
2727 if [[ $GITHUB_REF == refs/tags/* ]]; then
2828 VERSION=${GITHUB_REF#refs/tags/}
2929 fi
30- TAGS="${DOCKER_IMAGE}:${VERSION}-${DEBIAN_BASE}"
31- if [ "${DEBIAN_BASE}" = "bullseye" ]; then
32- TAGS="${TAGS} ${DOCKER_IMAGE}:${VERSION} ${DOCKER_IMAGE}:latest"
33- fi
30+ {
31+ echo "${DOCKER_IMAGE}:${VERSION}-${DEBIAN_BASE}"
32+ if [ "${DEBIAN_BASE}" = "bullseye" ]; then
33+ echo "${DOCKER_IMAGE}:${VERSION}"
34+ echo "${DOCKER_IMAGE}:latest"
35+ fi
36+ } > tags.txt
37+ delimiter="$(openssl rand -hex 8)"
38+ echo "tags<<${delimiter}" >> $GITHUB_OUTPUT
39+ cat tags.txt >> $GITHUB_OUTPUT
40+ echo "${delimiter}" >> $GITHUB_OUTPUT
3441 echo ::set-output name=version::${VERSION}
35- echo ::set-output name=tags::${TAGS}
3642 echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
3743
3844 -
You can’t perform that action at this time.
0 commit comments