Add back manifest and correct tagging
continuous-integration/drone/push Build is failing Details

This commit is contained in:
IamTheFij 2019-06-07 15:55:21 -07:00
parent 12f48e2c6d
commit d2807c74b1
1 changed files with 59 additions and 49 deletions

View File

@ -1,27 +1,30 @@
# kind: pipeline kind: pipeline
# name: build name: test
#
# workspace:
# base: /go
#
# steps:
# - name: build
# image: golang:1.11
# commands:
# - go version
# - go env
# - go get -u github.com/golang/dep/cmd/dep
# - make build
workspace:
base: /go
steps:
- name: build
image: golang:1.11
commands:
- go version
- go env
- go get -u github.com/golang/dep/cmd/dep
- make build
---
kind: pipeline kind: pipeline
name: linux-amd64 name: linux-amd64
depends_on:
- test
trigger: trigger:
event: event:
- push - push
- tag - tag
refs: refs:
- refs/multi-arch
- refs/heads/master - refs/heads/master
- refs/tags/v* - refs/tags/v*
@ -31,7 +34,8 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
repo: iamthefij/dockron repo: iamthefij/dockron
tags: linux-amd64 auto_tag: true
auto_tag_suffix: linux-amd64
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -41,12 +45,14 @@ steps:
kind: pipeline kind: pipeline
name: linux-arm name: linux-arm
depends_on:
- test
trigger: trigger:
event: event:
- push - push
- tag - tag
refs: refs:
- refs/multi-arch
- refs/heads/master - refs/heads/master
- refs/tags/v* - refs/tags/v*
@ -56,7 +62,8 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
repo: iamthefij/dockron repo: iamthefij/dockron
tags: linux-arm auto_tag: true
auto_tag_suffix: linux-arm
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -69,12 +76,14 @@ steps:
kind: pipeline kind: pipeline
name: linux-arm64 name: linux-arm64
depends_on:
- test
trigger: trigger:
event: event:
- push - push
- tag - tag
refs: refs:
- refs/multi-arch
- refs/heads/master - refs/heads/master
- refs/tags/v* - refs/tags/v*
@ -84,7 +93,8 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
repo: iamthefij/dockron repo: iamthefij/dockron
tags: linux-arm64 auto_tag: true
auto_tag_suffix: linux-arm64
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
@ -93,32 +103,32 @@ steps:
- ARCH=arm64 - ARCH=arm64
- REPO=arm64v8 - REPO=arm64v8
# --- ---
# kind: pipeline kind: pipeline
# name: manifest name: manifest
#
# depends_on: depends_on:
# - linux-amd64 - linux-amd64
# - linux-arm - linux-arm
# - linux-arm64 - linux-arm64
#
# trigger: trigger:
# event: event:
# - push - push
# - tag - tag
# ref: ref:
# - refs/heads/master - refs/heads/master
# - refs/tags/v* - refs/tags/v*
#
# steps: steps:
# - name: publish manifest - name: publish manifest
# image: plugins/manifest image: plugins/manifest
# settings: settings:
# spec: manifest.tmpl spec: manifest.tmpl
# auto_tag: true auto_tag: true
# ignore_missing: true ignore_missing: true
# username: username:
# from_secret: docker_username from_secret: docker_username
# password: password:
# from_secret: docker_password from_secret: docker_password
#