Skip to content

Commit

Permalink
Merge pull request #17 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 a90c55a + cd5174c commit 1d47ce9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 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/main
- refs/pull/**
- refs/tags/*

- name: publish
image: rancher/hardened-build-base:v1.20.4b11
Expand Down Expand Up @@ -90,6 +96,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/main
- refs/pull/**
- refs/tags/*

volumes:
- name: docker
Expand Down Expand Up @@ -117,6 +129,12 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock
when:
ref:
include:
- refs/heads/main
- refs/pull/**
- refs/tags/*

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

0 comments on commit 1d47ce9

Please sign in to comment.