This commit is contained in:
Malte Jürgens 2022-05-09 20:38:02 +02:00
parent 923c07289f
commit 5a1c9583a8
Signed by: maltejur
GPG key ID: D29FBD5F93C0CFC3

View file

@ -25,11 +25,11 @@ Build Docker Images:
# Install docker
before_script:
- apt-get update
- apt-get install ca-certificates curl gnupg lsb-release
- apt-get install -y ca-certificates curl gnupg lsb-release
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo 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 docker-ce docker-ce-cli containerd.io docker-compose-plugin
- apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
# Build container
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY