mirror of
https://git.suyu.dev/suyu/ci-docker.git
synced 2026-01-11 00:48:15 +01:00
Add SubDirs and Add updated Linux Image based of Original, Add Minimal Clang Image
This commit is contained in:
parent
9b82f10a18
commit
0b289f755b
11 changed files with 205 additions and 8 deletions
|
|
@ -1,6 +1,18 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
build linux clang format:
|
||||
stage: build
|
||||
image: docker
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||
- cd linux-clang-format
|
||||
- docker build -f Dockerfile -t ${CI_REGISTRY_IMAGE}:clangformat .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:clangformat
|
||||
|
||||
|
||||
build linux x64:
|
||||
stage: build
|
||||
image: docker
|
||||
|
|
@ -8,7 +20,8 @@ build linux x64:
|
|||
- docker:dind
|
||||
script:
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||
- docker build -f Dockerfile-linux -t ${CI_REGISTRY_IMAGE}:linux-x64 .
|
||||
- cd linux
|
||||
- docker build -f Dockerfile -t ${CI_REGISTRY_IMAGE}:linux-x64 .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:linux-x64
|
||||
|
||||
build android x64:
|
||||
|
|
@ -16,9 +29,10 @@ build android x64:
|
|||
image: docker
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
script:
|
||||
- cd android
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||
- docker build -f Dockerfile-android -t ${CI_REGISTRY_IMAGE}:android-x64 .
|
||||
- docker build -f Dockerfile -t ${CI_REGISTRY_IMAGE}:android-x64 .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:android-x64
|
||||
|
||||
build windows x64:
|
||||
|
|
@ -28,5 +42,6 @@ build windows x64:
|
|||
- docker:dind
|
||||
script:
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
|
||||
- docker build -f Dockerfile-windows -t ${CI_REGISTRY_IMAGE}:windows-x64 .
|
||||
- cd windows
|
||||
- docker build -f Dockerfile -t ${CI_REGISTRY_IMAGE}:windows-x64 .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:windows-x64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue