Skip to content

Commit

Permalink
fix: only upload artifacthub metadata to release repo (#5875)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal authored Mar 15, 2024
1 parent 354fdda commit a4d93bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/release/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ publishHelmChart() {
yq e -i ".version = \"${version}\"" "charts/${helm_chart}/Chart.yaml"

cd charts
if [[ -s "${ah_config_file_name}" ]]; then
if [[ -s "${ah_config_file_name}" ]] && [[ "$oci_repo" == "${RELEASE_REPO_ECR}" ]]; then
# ECR requires us to create an empty config file for an alternative
# media type artifact push rather than /dev/null
# https://github.com/aws/containers-roadmap/issues/1074
Expand Down

0 comments on commit a4d93bd

Please sign in to comment.