I added a very basic `.drone.yml``to see if it works.
---
kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: greeting
image: alpine:3.12.0
commands:
- echo "hello $(whoami)"
But whenever I push a single commit into the master branch, the job will be started twice.
runner:
image: drone/drone-runner-docker:1
restart: always
environment:
DRONE_RPC_PROTO: https
DRONE_RPC_HOST: drone.some.domain
DRONE_RPC_SECRET: ee49eaa0ecaf3a2acc2ef9f831648efd
DRONE_RUNNER_CAPACITY: 1
DRONE_RUNNER_NAME: docker-runner
ports:
- '3000:3000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock