This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
taskwarrior/.gitlab-ci.yml

30 lines
637 B
YAML
Raw Permalink Normal View History

2018-01-29 11:30:53 +00:00
stages:
- build
- build-manifest
2018-01-29 11:30:53 +00:00
variables:
VERSION: latest
DOCKER_HOST: tcp://docker:2375
VERSIONARCH: ${VERSION}-${ARCH}
cache:
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
paths:
- build-cache
2018-01-29 11:30:53 +00:00
image: docker:latest
2018-01-29 11:30:53 +00:00
services:
- docker:dind
2018-01-29 11:30:53 +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
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
2018-01-29 11:30:53 +00:00
include:
- .gitlab-docker-x86_64.yml
- .gitlab-docker-armv7l.yml