This commit is contained in:
Malte Jürgens 2022-05-09 20:42:10 +02:00
parent bdc400baad
commit 6233a835f7
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3

View file

@ -7,6 +7,8 @@ stages:
Build Docker Images:
stage: build-images
when: manual
only:
- master
image: ubuntu
services:
- docker:dind
@ -22,14 +24,14 @@ Build Docker Images:
- fedora35
- macos-x86_64
- macos-aarch64
# Install docker
# Install docker and make
before_script:
- apt-get update
- apt-get install -y ca-certificates curl gnupg lsb-release
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
- apt-get update
- apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
- apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin make
# Build container
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY