http.sh/.gitlab-ci.yml

23 lines
457 B
YAML
Raw Normal View History

2021-03-09 15:53:48 +01:00
services:
2021-03-09 18:54:05 +01:00
- name: docker.ptrc.pl/docker:20.10-dind
alias: docker
2021-03-09 15:53:48 +01:00
variables:
DOCKER_DRIVER: overlay2
2021-03-09 18:47:50 +01:00
DOCKER_TLS_CERTDIR: '/certs'
2021-03-09 15:53:48 +01:00
stages:
- push
docker-push:
2021-03-09 18:54:05 +01:00
image: docker.ptrc.pl/docker:20.10
2021-03-09 15:53:48 +01:00
stage: push
before_script:
2021-03-09 17:18:05 +01:00
- docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASSWORD" docker.ptrc.pl
2021-03-09 15:53:48 +01:00
script:
2021-03-09 18:57:10 +01:00
- docker build -t docker.ptrc.pl/http.sh .
- docker push docker.ptrc.pl/http.sh
2021-03-09 15:53:48 +01:00
only:
refs:
- master