feat: add kaniko build to the pipeline
All checks were successful
continuous-integration/drone/push Build is passing

commit b790ccc27ab7977dba5964b85a5d4d5d1663ae23
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 2 01:47:02 2020 +0100

    fix: missing literal 'branch/' in the URL path

commit 7feab3483f0be7008165949c358fc52c6bc9f4a7
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 2 01:06:12 2020 +0100

    fix: grab missing Dockerfile before build attempt

    * since path of the Dockerfile was not the issue, revert the change of 5533ed0f6e

commit 5533ed0f6e78a689c6902fd9d60ff69b37818acc
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 2 00:52:56 2020 +0100

    fix: kaniko missing Dockerfile in path

commit ec28ddb6486635662e3f323b03782c054a84342c
Author: surtur <a_mirre@utb.cz>
Date:   Wed Dec 2 00:49:17 2020 +0100

    chore: build image with kaniko on push
This commit is contained in:
surtur 2020-12-02 02:27:11 +01:00
parent 0cd6848316
commit 8f9e6dca2f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -20,6 +20,22 @@ steps:
- curl -sO https://git.dotya.ml/wanderer/docker-fedora-hugo/raw/branch/master/curl.it - curl -sO https://git.dotya.ml/wanderer/docker-fedora-hugo/raw/branch/master/curl.it
- bash ./curl.it $ENDPOINT - 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
pull: always
image: banzaicloud/drone-kaniko
depends_on:
- "grab Dockerfile"
settings:
dockerfile: Dockerfile
context: .
--- ---
kind: pipeline kind: pipeline