Commit 943b2324 authored by DasSkelett's avatar DasSkelett

Install jq and curl, try fixing docker:dind service

parent a622d5fb
......@@ -4,10 +4,14 @@ docker-build-master:
stage: build
services:
- docker:dind
variables:
DOCKER_TLS_CERTDIR: ""
before_script:
- apk add --no-cache jq curl
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- FULL_VERSION=$(curl --silent "https://aur.archlinux.org/rpc.php?type=info&arg=nginx-quic" | jq -r '.results.Version') \
- >
FULL_VERSION=$(curl --silent "https://aur.archlinux.org/rpc.php?type=info&arg=nginx-quic" | jq -r '.results.Version')
&& VERSION=${FULL_VERSION%-*} && export VERSION
- docker pull "${CI_REGISTRY_IMAGE}:latest" # https://gitlab.com/gitlab-org/gitlab-foss/-/issues/17861#note_19140733
- docker build --pull --cache-from "${CI_REGISTRY_IMAGE}:latest" -t "${CI_REGISTRY_IMAGE}:latest" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment