Skip to content

Commit

Permalink
Exclude dev branches from push events
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Trachier <[email protected]>
  • Loading branch information
matttrach committed May 19, 2023
1 parent 65d0725 commit 381778e
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.16.10b7
Expand All @@ -41,6 +47,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 @@ -67,6 +79,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.16.10b7
Expand Down Expand Up @@ -108,6 +126,7 @@ steps:
when:
event:
- tag

depends_on:
- linux-amd64
- linux-s390x
Expand Down

0 comments on commit 381778e

Please sign in to comment.