From 988829a6db58c82c8f54079e2e9bb2ae4cd36e07 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 12 Feb 2021 15:22:21 +0000 Subject: [PATCH] dont build docker on go1.16 branch --- .drone.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 060a407..b7a1d45 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,8 @@ steps: trigger: event: - tag + branch: + - main --- name: amd64-docker kind: pipeline @@ -42,6 +44,8 @@ steps: trigger: event: - tag + branch: + - main --- name: arm64-docker kind: pipeline @@ -69,6 +73,8 @@ steps: trigger: event: - tag + branch: + - main volumes: - name: ssh_key host: @@ -100,6 +106,8 @@ steps: trigger: event: - tag + branch: + - main volumes: - name: ssh_key host: @@ -132,6 +140,8 @@ steps: trigger: event: - tag + branch: + - main volumes: - name: ssh_key host: @@ -141,13 +151,13 @@ depends_on: - arm64-docker - armhf-docker --- -name: jfa-go-1.16-git +name: jfa-go-git kind: pipeline type: docker steps: - name: build - image: golang:1.16rc1-buster + image: golang:latest commands: - apt update -y - apt install build-essential python3-pip curl software-properties-common sed upx -y @@ -185,6 +195,13 @@ steps: repo: hrfee/jfa-go tags: manifest-unstable-amd64 +trigger: + branch: + - main + event: + exclude: + - pull_request + --- name: arm64-docker-git kind: pipeline @@ -213,7 +230,6 @@ steps: trigger: branch: - main - - go1.16 event: exclude: - pull_request @@ -250,7 +266,6 @@ steps: trigger: branch: - main - - go1.16 event: exclude: - pull_request @@ -291,7 +306,6 @@ depends_on: trigger: branch: - main - - go1.16 event: exclude: - pull_request