@@ -34,12 +34,11 @@ if [[ "${release_tag}" == *"-"* ]]; then
3434fi
3535
3636echo " The image tag is: ${release_tag} "
37- image_repo=" gcr .io/pixie-oss/pixie-prod "
37+ image_repo=" ghcr .io/pixie-io "
3838
3939bazel run -c opt \
4040 --config=stamp \
4141 --config=x86_64_sysroot \
42- --action_env=GOOGLE_APPLICATION_CREDENTIALS \
4342 --//k8s:image_repository=" ${image_repo} " \
4443 --//k8s:image_version=" ${release_tag} " \
4544 //k8s/cloud:cloud_images_push
@@ -53,17 +52,13 @@ done < <(bazel run -c opt \
5352 --//k8s:image_version=" ${release_tag} " \
5453 //k8s/cloud:list_image_bundle)
5554
56- all_licenses_opts=(" //tools/licenses:all_licenses" " --action_env=GOOGLE_APPLICATION_CREDENTIALS " " -- remote_download_outputs=toplevel" )
55+ all_licenses_opts=(" //tools/licenses:all_licenses" " --remote_download_outputs=toplevel" )
5756all_licenses_path=" $( bazel cquery " ${all_licenses_opts[@]} " --output starlark --starlark:expr " target.files.to_list()[0].path" 2> /dev/null) "
5857bazel build " ${all_licenses_opts[@]} "
5958
6059upload_artifact_to_mirrors " cloud" " ${release_tag} " " ${all_licenses_path} " " licenses.json"
61- # The licenses file uses a non-standard path (outside of the "component/version/artifact" convention)
62- # so for now we'll also copy it to the legacy path.
63- gsutil cp " ${all_licenses_path} " " gs://pixie-dev-public/oss-licenses/${release_tag} .json"
6460if [[ " ${release} " == " true" ]]; then
6561 upload_artifact_to_mirrors " cloud" " latest" " ${all_licenses_path} " " licenses.json"
66- gsutil cp " ${all_licenses_path} " " gs://pixie-dev-public/oss-licenses/latest.json"
6762fi
6863
6964# Write YAMLs + image paths to a tar file to support easy deployment.
0 commit comments