add CI
This commit is contained in:
parent
58bb6a4a95
commit
9b9839b4ed
2 changed files with 21 additions and 1 deletions
20
.gitlab-ci.yaml
Normal file
20
.gitlab-ci.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: overlay
|
||||||
|
CI_APPLICATION_REPOSITORY: "$CI_REGISTRY_IMAGE"
|
||||||
|
CI_APPLICATION_TAG: "$CI_COMMIT_SHA"
|
||||||
|
services:
|
||||||
|
- docker:stable-dind
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
images: "registry.gitlab.com/gitlab-org/cluster-integration/auto-build-image/master:stable"
|
||||||
|
services:
|
||||||
|
- name: docker:stable-dind
|
||||||
|
command:
|
||||||
|
- dockerd
|
||||||
|
- "--host=unix:///var/run/docker.sock"
|
||||||
|
- "--host=tcp://0.0.0.0:2375"
|
||||||
|
- "--mtu=1450"
|
||||||
|
script:
|
||||||
|
- /build/build.sh
|
|
@ -1,7 +1,7 @@
|
||||||
FROM alpine:3.11 AS build
|
FROM alpine:3.11 AS build
|
||||||
|
|
||||||
ARG CHANNEL=unstable
|
ARG CHANNEL=unstable
|
||||||
ARG VERSION=0.99.1-127
|
ARG VERSION=0.100.0-153
|
||||||
ARG ARCH=amd64
|
ARG ARCH=amd64
|
||||||
|
|
||||||
RUN mkdir /build
|
RUN mkdir /build
|
||||||
|
|
Loading…
Reference in a new issue