diff --git a/ci/apps/tasks/bump-image-digest.sh b/ci/apps/tasks/bump-image-digest.sh index d2381a7123..90b764768c 100755 --- a/ci/apps/tasks/bump-image-digest.sh +++ b/ci/apps/tasks/bump-image-digest.sh @@ -9,7 +9,7 @@ pushd charts-repo yq -i e "${YAML_PATH} = strenv(digest)" "./charts/${CHART}/values.yaml" -sed -i "s|\(${YAML_PATH##*.}: \"${digest}\"\).*$|\1 # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=${ref}|g" "./charts/${CHART}/values.yaml" +sed -i "s|\(${YAML_PATH##*.}: \"${digest}\"\).*$|\1 # METADATA:: repository=https://github.com/GaloyMoney/galoy;commit_ref=${ref};app=${APP};|g" "./charts/${CHART}/values.yaml" if [[ -z $(git config --global user.email) ]]; then diff --git a/ci/apps/tasks/open-charts-pr.sh b/ci/apps/tasks/open-charts-pr.sh index a45c6689ac..22e85ff1cd 100755 --- a/ci/apps/tasks/open-charts-pr.sh +++ b/ci/apps/tasks/open-charts-pr.sh @@ -14,7 +14,7 @@ old_digest=$(yq e "${YAML_PATH}" "./charts/${CHART}/values.yaml") github_url=$(grep "digest: \"${old_digest}\"" "./charts/${CHART}/values.yaml" \ | sed 's|digest:.*:: repository=\(.*\);.*$|\1|' | tr -d ' \n') old_ref=$(grep "digest: \"${old_digest}\"" "./charts/${CHART}/values.yaml" \ - | sed 's|digest:.*::.*;commit_ref=\(.*\)$|\1|' | tr -d ' \n') + | sed 's|digest:.*::.*;commit_ref=\(.*\).*$|\1|' | tr -d ' \n') cat <> ../body.md # Bump ${APP} image