Browse Source

Fix drone builds on tags

master
IamTheFij 5 months ago
parent
commit
ff2d50b6e8
  1. 56
      .drone.yml

56
.drone.yml

@ -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
Loading…
Cancel
Save