18 lines
322 B
YAML
18 lines
322 B
YAML
|
clone:
|
||
|
git:
|
||
|
image: plugins/git
|
||
|
depth: 1
|
||
|
pipeline:
|
||
|
build:
|
||
|
image: docker
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
environment:
|
||
|
- PUSH_TOKEN=$${PUSH_TOKEN}
|
||
|
- PUSH_USER=$${PUSH_USER}
|
||
|
secrets:
|
||
|
- PUSH_TOKEN
|
||
|
- PUSH_USER
|
||
|
commands:
|
||
|
- /bin/sh build.sh
|