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