wordpress/.gitlab-ci.yml

32 lines
693 B
YAML
Raw Normal View History

2017-12-07 04:19:02 +00:00
stages:
- build
- build-manifest
2017-12-07 04:19:02 +00:00
variables:
VERSION: "5.9"
2019-02-20 11:29:42 +00:00
DOCKER_HOST: tcp://docker:2375
VERSIONARCH: ${VERSION}-${ARCH}
cache:
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
paths:
- build-cache
2017-12-07 04:19:02 +00:00
image: docker:latest
2017-12-07 04:19:02 +00:00
services:
2019-02-20 11:29:42 +00:00
- docker:dind
2017-12-07 04:19:02 +00:00
before_script:
- if [ ! -d build-cache ]; then mkdir build-cache; fi
- sed -i -e s'/https/http/' /etc/apk/repositories
- HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl
- docker info && docker version
# env|sort
2018-02-02 10:14:10 +00:00
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
2017-12-07 04:19:02 +00:00
include:
- .gitlab-docker-x86_64.yml
# .gitlab-docker-armv7l.yml
# .gitlab-docker-arm64.yml
- .gitlab-docker-manifest.yml