testing
This commit is contained in:
parent
bdc400baad
commit
6233a835f7
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue