dockerfiles/.drone.yml

13 lines
268 B
YAML

pipeline:
docker-build-push:
image: docker
commands:
- apk add -U git
- /bin/sh buildAndPush.sh
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: push
secrets: [docker_user, docker_password]
branch: master