ci: use depdendency proxy for pipeline base images
- ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX} for golang and ansible
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
parent
b6d419db88
commit
cdbd1e6dcc
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ stages:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
image: golang:bookworm
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:bookworm
|
||||||
before_script:
|
before_script:
|
||||||
- bash hack/install-xcaddy.sh
|
- bash hack/install-xcaddy.sh
|
||||||
script:
|
script:
|
||||||
|
|
@ -20,7 +20,7 @@ build:
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: alpine/ansible:latest
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/alpine/ansible:latest
|
||||||
before_script:
|
before_script:
|
||||||
- "command -v ssh-agent >/dev/null || ( apk add --no-cache openssh-client )"
|
- "command -v ssh-agent >/dev/null || ( apk add --no-cache openssh-client )"
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
|
|
|
||||||
Reference in a new issue