Skip to content

Commit 0df4e71

Browse files
[ISV-4989] Github summary comment displays pullspec's external address
1 parent 7b527a8 commit 0df4e71

File tree

1 file changed

+3
-2
lines changed
  • ansible/roles/operator-pipeline/templates/openshift/tasks

1 file changed

+3
-2
lines changed

ansible/roles/operator-pipeline/templates/openshift/tasks/copy-image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ spec:
4141
exit 0
4242
fi
4343
44-
# Save data about released bundle to volume
44+
# Create directory for info about release data
4545
RELEASE_INFO_DIR_PATH="$(workspaces.output.path)/release_info"
4646
mkdir -p "$RELEASE_INFO_DIR_PATH"
47-
echo "- $(params.src_image)" | tee "$RELEASE_INFO_DIR_PATH/released_bundle.txt"
4847
4948
if [[ "$(params.vendor_label)" == "" ]]; then
5049
echo "Image pullspec for community bundle is the source image itself."
5150
echo -n > "$(results.container_digest.path)"
5251
echo -n "$(params.src_image)" > "$(results.image_pullspec.path)"
52+
echo "- $(params.src_image)" | tee "$RELEASE_INFO_DIR_PATH/released_bundle.txt"
5353
exit 0
5454
fi
5555
@@ -72,4 +72,5 @@ spec:
7272
7373
DIGEST=$(skopeo inspect --authfile $DEST_AUTHFILE docker://$(params.dest_image_registry_namespace_certproject):$(params.dest_image_tag) | jq -r .Digest)
7474
echo -n $DIGEST | tee $(results.container_digest.path)
75+
echo "- $CONNECT_REPO_PATH:$(params.dest_image_tag)" | tee "$RELEASE_INFO_DIR_PATH/released_bundle.txt"
7576
echo -n "$CONNECT_REPO_PATH@${DIGEST}" > $(results.image_pullspec.path)

0 commit comments

Comments
 (0)