File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ spec:
185185 #!/bin/sh
186186 set -euo pipefail
187187 cd "$(workspaces.source.path)/source"
188- echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > $(results.commit-timestamp.path)
188+ echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > "${SCRIPT_OUTPUT}"
189189 - name : HERMETIC
190190 value : $(params.hermetic)
191191 - name : SOURCE_ARTIFACT
@@ -273,7 +273,7 @@ spec:
273273 value : $(tasks.clone-repository.results.commit)
274274 - name : BUILD_ARGS
275275 value :
276- - ANSIBLE_CHATBOT_VERSION=0.9.$(tasks.git-metadata.results.commit-timestamp )
276+ - ANSIBLE_CHATBOT_VERSION=0.9.$(tasks.git-metadata.results.SCRIPT_OUTPUT )
277277 - GIT_COMMIT=$(tasks.clone-repository.results.commit)
278278 - name : BUILD_ARGS_FILE
279279 value : $(params.build-args-file)
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ spec:
182182 #!/bin/sh
183183 set -euo pipefail
184184 cd "$(workspaces.source.path)/source"
185- echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > $(results.commit-timestamp.path)
185+ echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > "${SCRIPT_OUTPUT}"
186186 - name : HERMETIC
187187 value : $(params.hermetic)
188188 - name : SOURCE_ARTIFACT
@@ -270,8 +270,8 @@ spec:
270270 value : $(tasks.clone-repository.results.commit)
271271 - name : BUILD_ARGS
272272 value :
273- - ANSIBLE_CHATBOT_VERSION=0.9.$(tasks.git-metadata.results.commit-timestamp )
274- - IMAGE_TAGS=latest 0.9.$(tasks.git-metadata.results.commit-timestamp )
273+ - ANSIBLE_CHATBOT_VERSION=0.9.$(tasks.git-metadata.results.SCRIPT_OUTPUT )
274+ - IMAGE_TAGS=latest 0.9.$(tasks.git-metadata.results.SCRIPT_OUTPUT )
275275 - GIT_COMMIT=$(tasks.clone-repository.results.commit)
276276 - name : BUILD_ARGS_FILE
277277 value : $(params.build-args-file)
@@ -598,7 +598,7 @@ spec:
598598 - name : ADDITIONAL_TAGS
599599 value :
600600 - latest
601- - 0.9.$(tasks.git-metadata.results.commit-timestamp )
601+ - 0.9.$(tasks.git-metadata.results.SCRIPT_OUTPUT )
602602 runAfter :
603603 - build-image-index
604604 taskRef :
You can’t perform that action at this time.
0 commit comments