Skip to content

Commit

Permalink
Update publish task to work with latest koparse image
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGreene committed Sep 23, 2024
1 parent 6ad10b1 commit ab0668a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,17 @@ spec:
script: |
set -ex
IMAGES_PATH=${CONTAINER_REGISTRY}/$(params.package)
for cmd in $(params.images)
do
IMAGES="${IMAGES} ${IMAGES_PATH}/cmd/${cmd}:$(params.versionTag)"
IMAGES="${IMAGES} ${params.package}/cmd/${cmd}:$(params.versionTag)"
done
# Parse the built images from the release.yaml generated by ko
koparse \
--path $OUTPUT_RELEASE_DIR/release.yaml \
--base ${IMAGES_PATH} --images ${IMAGES} > /workspace/built_images
--base ${params.package} \
--container-regisry ${CONTAINER_REGISTRY} \
--images ${IMAGES} > /workspace/built_images
- name: tag-images
image: gcr.io/go-containerregistry/crane:debug@sha256:ff0e08eeae8097d28b2381c7f7123bf542757abc68d11bff58fb882b72843785
Expand Down

0 comments on commit ab0668a

Please sign in to comment.