Use correct string type for substitution

This commit is contained in:
Alexander Olofsson 2021-09-23 10:23:02 +02:00
parent 27d2383e4d
commit 6727fdcb93
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -49,7 +49,7 @@ push:
' '
- mkdir -p public - mkdir -p public
- curl --user gitlab-ci-token:$CI_JOB_TOKEN "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/index.yaml" -o public/index.yaml - curl --user gitlab-ci-token:$CI_JOB_TOKEN "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/index.yaml" -o public/index.yaml
- sed -e 's|- charts/|- ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/|' -i public/index.yaml - sed -e "s|- charts/|- ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/${CHANNEL}/charts/|" -i public/index.yaml
artifacts: artifacts:
paths: paths:
- public - public