Commit 26b5c4a1 authored by Josh Ji's avatar Josh Ji

drone.yml volumes, trigger

parent c4fda8d9
......@@ -17,3 +17,14 @@ steps:
- docker build --no-cache -t 192.168.0.100:30004/dev/rpserver:${DRONE_COMMIT_SHA:0:8} -f ./Dockerfile .
- docker login 192.168.0.100:30004 --username $${REGISTRY_USERNAME} --password $${REGISTRY_PASSWORD}
- docker push 192.168.0.100:30004/dev/rpserver:${DRONE_COMMIT_SHA:0:8}
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger:
branch:
- dev
event:
- push
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment