diff --git a/.drone.yml b/.drone.yml index 385ac6d..163a89e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,6 +16,12 @@ steps: volumes: - name: docker path: /var/run/docker.sock + when: + ref: + include: + - refs/heads/master + - refs/tags/* + - refs/pull/** - name: publish image: rancher/hardened-build-base:v1.20.4b11 @@ -89,6 +95,12 @@ steps: volumes: - name: docker path: /var/run/docker.sock + when: + ref: + include: + - refs/heads/master + - refs/tags/* + - refs/pull/** volumes: - name: docker @@ -115,6 +127,12 @@ steps: volumes: - name: docker path: /var/run/docker.sock + when: + ref: + include: + - refs/heads/master + - refs/tags/* + - refs/pull/** - name: publish image: rancher/hardened-build-base:v1.20.4b11 @@ -156,6 +174,7 @@ steps: when: event: - tag + depends_on: - linux-amd64 - linux-arm64