Make CURL available in image
Summary
Add CURL support to the image.
Steps to reproduce
Curl is not available in the release-cli image. Therefore launching API calls in a release stage is not possible. The alternative is to install the CLI into another image, which is tedious and not effective.
Example Project
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo 'releasing project'
# the following won't work
- curl -X POST "https://gitlab.com/api/v4/projects/myProject/jobs/$JOB_ID/artifacts/keep"
release:
tag_name: 'my Tag'
What is the expected correct behavior?
Make curl available in the image.
~"devops::release" ~"group::release" GitLab Release CLI Category:Release Orchestration