Skip to content

Commit

Permalink
Fix Drone tag trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
chuhlomin committed Sep 19, 2020
1 parent 400654f commit 4a5aeb6
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ kind: pipeline
type: docker
name: default

platform:
os: linux
arch: amd64

steps:
- name: build
image: golang:1.12.14-alpine3.10
Expand All @@ -24,8 +28,10 @@ steps:
- ${DRONE_COMMIT:0:7}
- latest
when:
event: push
branch: develop
event:
- push
branch:
- develop

- name: cr-release
image: plugins/docker
Expand All @@ -37,8 +43,10 @@ steps:
tags:
- ${DRONE_TAG}
when:
event: tag
event:
- tag

trigger:
branch:
- develop
event:
- push
- tag

0 comments on commit 4a5aeb6

Please sign in to comment.