Skip to content

Commit

Permalink
Merge pull request #45 from matttrach/exclude-external-branches
Browse files Browse the repository at this point in the history
Exclude dev branches from push events
  • Loading branch information
matttrach authored Jun 1, 2023
2 parents 9eced66 + 381778e commit 0c848ea
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -156,6 +174,7 @@ steps:
when:
event:
- tag

depends_on:
- linux-amd64
- linux-arm64
Expand Down

0 comments on commit 0c848ea

Please sign in to comment.