refactor: move kaniko build to its own pipeline
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
surtur 2020-12-02 02:33:03 +01:00
parent 8f9e6dca2f
commit 68c5d6b57f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -20,18 +20,18 @@ steps:
- curl -sO https://git.dotya.ml/wanderer/docker-fedora-hugo/raw/branch/master/curl.it
- bash ./curl.it $ENDPOINT
- name: grab Dockerfile
pull: always
image: bash:latest
commands:
- apk add --no-cache curl
- curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/${DRONE_COMMIT_BRANCH}/Dockerfile
- name: kaniko build
---
kind: pipeline
name: kaniko-build
platform:
arch: amd64
steps:
- name: build
pull: always
image: banzaicloud/drone-kaniko
depends_on:
- "grab Dockerfile"
settings:
dockerfile: Dockerfile
context: .
@ -59,7 +59,7 @@ trigger:
- failure
depends_on:
- dockerhub-build-trigger
- kaniko-build
steps:
- name: discord
@ -105,7 +105,7 @@ trigger:
- failure
depends_on:
- dockerhub-build-trigger
- kaniko-build
steps:
- name: discord