testing
This commit is contained in:
parent
d5df2cfb98
commit
923c07289f
1 changed files with 9 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ stages:
|
||||||
Build Docker Images:
|
Build Docker Images:
|
||||||
stage: build-images
|
stage: build-images
|
||||||
when: manual
|
when: manual
|
||||||
image: curlimages/curl
|
image: ubuntu
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
parallel:
|
parallel:
|
||||||
|
|
@ -22,8 +22,15 @@ Build Docker Images:
|
||||||
- fedora35
|
- fedora35
|
||||||
- macos-x86_64
|
- macos-x86_64
|
||||||
- macos-aarch64
|
- macos-aarch64
|
||||||
|
# Install docker
|
||||||
before_script:
|
before_script:
|
||||||
- cd $(mktemp -d) && curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz -o docker.tgz && tar xzvf docker.tgz && mkdir -p ~/.local/bin/ && cp -v docker/* ~/.local/bin/
|
- apt-get update
|
||||||
|
- apt-get install 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
|
||||||
|
# Build container
|
||||||
script:
|
script:
|
||||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
- make docker-$DISTRO
|
- make docker-$DISTRO
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue