mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-22 05:19:18 +00:00
21 lines
508 B
YAML
21 lines
508 B
YAML
pipeline:
|
|
build:
|
|
image: xataz/docker-drone-plugin
|
|
repo: xataz/reverse-nginx
|
|
action: build
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
push:
|
|
image: xataz/docker-drone-plugin
|
|
repo: xataz/reverse-nginx
|
|
action: push
|
|
environment:
|
|
- UID=1000
|
|
- GID=991
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /home/xataz/.docker/config.json:/docker/.docker/config.json
|
|
when:
|
|
branch: master
|
|
event: [push, tag, deployment] |