23 lines
457 B
YAML
23 lines
457 B
YAML
services:
|
|
- name: docker.ptrc.pl/docker:20.10-dind
|
|
alias: docker
|
|
|
|
variables:
|
|
DOCKER_DRIVER: overlay2
|
|
DOCKER_TLS_CERTDIR: '/certs'
|
|
|
|
stages:
|
|
- push
|
|
|
|
docker-push:
|
|
image: docker.ptrc.pl/docker:20.10
|
|
stage: push
|
|
before_script:
|
|
- docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASSWORD" docker.ptrc.pl
|
|
script:
|
|
- docker build -t docker.ptrc.pl/http.sh .
|
|
- docker push docker.ptrc.pl/http.sh
|
|
only:
|
|
refs:
|
|
- master
|