Fix drone builds on tags

This commit is contained in:
IamTheFij 2021-01-20 17:03:07 -08:00
parent d66c11cc00
commit ff2d50b6e8

View File

@ -2,6 +2,14 @@
kind: pipeline
name: linux-amd64
trigger:
event:
- push
- tag
refs:
- refs/heads/master
- refs/tags/v*
steps:
- name: build
@ -14,17 +22,19 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch:
- master
event:
- push
- tag
---
kind: pipeline
name: linux-arm
trigger:
event:
- push
- tag
refs:
- refs/heads/master
- refs/tags/v*
steps:
- name: build
@ -40,17 +50,19 @@ steps:
build_args:
- ARCH=arm
- REPO=arm32v7
when:
branch:
- master
event:
- push
- tag
---
kind: pipeline
name: linux-arm64
trigger:
event:
- push
- tag
refs:
- refs/heads/master
- refs/tags/v*
steps:
- name: build
@ -66,12 +78,6 @@ steps:
build_args:
- ARCH=aarch64
- REPO=arm64v8
when:
branch:
- master
event:
- push
- tag
---
kind: pipeline
@ -82,6 +88,14 @@ depends_on:
- linux-arm
- linux-arm64
trigger:
event:
- push
- tag
refs:
- refs/heads/master
- refs/tags/v*
steps:
- name: publish manifest
image: plugins/manifest
@ -93,9 +107,3 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch:
- master
event:
- push
- tag