klafirc/.gitlab-ci.yml
2018-08-02 16:04:59 +02:00

16 lines
429 B
YAML

image: docker
services:
- docker:dind
stages:
- build
build_job:
stage: build
script:
- apk add --no-cache curl
- docker build -f Dockerfile -t gitlab.rezometz.org:5678/klafyvel/klafirc
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN gitlab.rezometz.org:5678
- docker push gitlab.rezometz.org:5678/klafyvel/klafirc:latest
- "curl -X POST lupercus.rez -d \"$API_VARS\" -H \"Content-Type: application/json\""