Skip to content

Commit

Permalink
Merge pull request #19 from matttrach/exclude-automated-branches
Browse files Browse the repository at this point in the history
CI will ignore push to non-master
  • Loading branch information
matttrach authored Jun 1, 2023
2 parents 070f5ab + 3118647 commit 6310d8b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 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/pull/**
- refs/tags/*

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
Expand All @@ -41,6 +47,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/master
- refs/pull/**
- refs/tags/*

volumes:
- name: docker
Expand All @@ -64,6 +76,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/master
- refs/pull/**
- refs/tags/*

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
Expand All @@ -89,6 +107,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/master
- refs/pull/**
- refs/tags/*

volumes:
- name: docker
Expand All @@ -115,6 +139,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/master
- refs/pull/**
- refs/tags/*

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
Expand Down

0 comments on commit 6310d8b

Please sign in to comment.