Skip to content

Commit 9972d62

Browse files
vdemeestertekton-robot
authored andcommitted
Fix tekton/publish sed for combined-based-image digest replacement
It would generate an invalid image reference. Signed-off-by: Vincent Demeester <[email protected]>
1 parent fcba522 commit 9972d62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tekton/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ spec:
125125
${COMBINED_BASE_IMAGE_BASE}/combined-base-image:latest)
126126
127127
# Replace :latest references with the actual combined base image digest
128-
sed -i "s|combined-base-image:latest|${COMBINED_BASE_IMAGE}|g" /workspace/.ko.yaml
128+
sed -i "s|ghcr.io/tektoncd/pipeline/github.com/tektoncd/pipeline/combined-base-image:latest|${COMBINED_BASE_IMAGE}|g" /workspace/.ko.yaml
129129
130130
cat /workspace/.ko.yaml
131131
@@ -271,4 +271,4 @@ spec:
271271
# regional copies of the images in the result - see https://github.com/tektoncd/pipeline/issues/4282
272272
# echo ${REGION}.$IMAGE_WITH_SHA, >> $(results.IMAGES.path)
273273
done
274-
done
274+
done

0 commit comments

Comments
 (0)