docker-alpine-android/.drone.yml
surtur e06af39e76
All checks were successful
continuous-integration/drone/push Build is passing
feat: add kaniko-build drone pipeline step
2021-01-14 01:46:55 +01:00

51 lines
709 B
YAML

---
kind: pipeline
type: docker
name: dockerhub-build-trigger
platform:
os: linux
arch: amd64
clone:
disable: true
steps:
- name: call webhook
pull: always
image: bash:latest
environment:
ENDPOINT:
from_secret: DOCKERHUB_ENDPOINT
commands:
- apk add --no-cache curl
- curl -sO https://git.dotya.ml/${DRONE_REPO}/raw/branch/master/curl.it
- bash ./curl.it $ENDPOINT
trigger:
branch:
- master
event:
- push
- cron
---
kind: pipeline
type: docker
name: kaniko-build
platform:
os: linux
arch: amd64
steps:
- name: build
pull: always
image: banzaicloud/drone-kaniko
settings:
dockerfile: Dockerfile
context: .
depends_on:
- dockerhub-build-trigger