CI: Use a dedicated docker image for LinuxKit

This commit is contained in:
nemunaire 2023-07-24 01:12:19 +02:00
parent acf909ab1e
commit 97bdad21a2

View File

@ -89,12 +89,9 @@ fickit:
stage: fickit
interruptible: true
needs: []
image: alpine:3.18
image: nemunaire/linuxkit
tags: ['docker']
before_script:
- apk add --no-cache git docker
- wget -O /usr/bin/linuxkit https://github.com/linuxkit/linuxkit/releases/download/v1.0.1/linuxkit-linux-amd64
- chmod +x /usr/bin/linuxkit
- mkdir -p ~/.docker
- echo "{\"auths\":{\"${CI_REGISTRY}\":{\"username\":\"${CI_REGISTRY_USER}\",\"password\":\"${CI_REGISTRY_PASSWORD}\"}}}" > ~/.docker/config.json
script: