Created armv7l image
This commit is contained in:
parent
eb671cd91e
commit
833c327deb
@ -5,12 +5,12 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: dind
|
VERSION: dind-${ARCH}
|
||||||
CACHETAG: build
|
CACHETAG: build-${ARCH}
|
||||||
DOCKER_HOST: tcp://${CI_REGISTRY}-leenooks-ci-docker:2375
|
DOCKER_HOST: tcp://${CI_REGISTRY}-leenooks-ci-docker:2375
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- ${CI_REGISTRY}/leenooks/ci-docker:dind
|
- docker:dind
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- docker info
|
- docker info
|
||||||
@ -27,7 +27,9 @@ test:
|
|||||||
only:
|
only:
|
||||||
- debug
|
- debug
|
||||||
|
|
||||||
build:
|
x86_64:build:
|
||||||
|
variables:
|
||||||
|
ARCH: x86_64
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- if [ -f init ]; then chmod 500 init; fi
|
- if [ -f init ]; then chmod 500 init; fi
|
||||||
@ -37,5 +39,22 @@ build:
|
|||||||
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
|
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
- x86_64
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
armv7l:build:
|
||||||
|
variables:
|
||||||
|
ARCH: armv7l
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- if [ -f init ]; then chmod 500 init; fi
|
||||||
|
- docker pull ${CI_REGISTRY_IMAGE}:${CACHETAG} || true
|
||||||
|
- docker build --cache-from ${CI_REGISTRY_IMAGE}:${CACHETAG} -t ${CI_REGISTRY_IMAGE}:${VERSION} -t ${CI_REGISTRY_IMAGE}:${CACHETAG} .
|
||||||
|
- docker push ${CI_REGISTRY_IMAGE}:${VERSION}
|
||||||
|
- docker push ${CI_REGISTRY_IMAGE}:${CACHETAG}
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
- armv7l
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Reference in New Issue
Block a user