Skip to content
代码片段 群组 项目
提交 3216d751 编辑于 作者: Clayton Cornell's avatar Clayton Cornell
浏览文件

Merge branch 'master' into 'master'

docs: Use the official curl image and drop the dind service from job

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/105164



Merged-by: default avatarClayton Cornell <ccornell@gitlab.com>
Approved-by: default avatarAdie Po <avpfestin@gitlab.com>
Approved-by: default avatarHayley Swimelar <hswimelar@gitlab.com>
Co-authored-by: default avatarBengt Lüers <bengt.lueers@gmail.com>
No related branches found
No related tags found
无相关合并请求
...@@ -457,21 +457,18 @@ build_image: ...@@ -457,21 +457,18 @@ build_image:
- main - main
delete_image: delete_image:
image: docker:20.10.16 before_script:
- curl --fail --show-error --location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" --output ./reg
- echo "$REG_SHA256 ./reg" | sha256sum -c -
- chmod a+x ./reg
image: curlimages/curl:7.86.0
script:
- ./reg rm -d --auth-url $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $IMAGE_TAG
stage: clean stage: clean
services:
- docker:20.10.16-dind
variables: variables:
IMAGE_TAG: $CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG IMAGE_TAG: $CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG
REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228 REG_SHA256: ade837fc5224acd8c34732bf54a94f579b47851cc6a7fd5899a98386b782e228
REG_VERSION: 0.16.1 REG_VERSION: 0.16.1
before_script:
- apk add --no-cache curl
- curl --fail --show-error --location "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" --output /usr/local/bin/reg
- echo "$REG_SHA256 /usr/local/bin/reg" | sha256sum -c -
- chmod a+x /usr/local/bin/reg
script:
- /usr/local/bin/reg rm -d --auth-url $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $IMAGE_TAG
only: only:
- branches - branches
except: except:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册