docker-alpine-android/.drone.yml
surtur 9696733ec3
All checks were successful
continuous-integration/drone/push Build is passing
ci: switch kaniko to immawanderer/drone-kaniko
2021-04-21 05:34:07 +02:00

51 lines
719 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: immawanderer/drone-kaniko:efd19c50
settings:
dockerfile: Dockerfile
context: .
depends_on:
- dockerhub-build-trigger