docker-alpine-android/.drone.yml
surtur 2b5a445c48
All checks were successful
continuous-integration/drone/push Build is passing
ci: switch to ghcr.io/finitum/drone-kaniko
2021-02-26 18:49:43 +01: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: ghcr.io/finitum/drone-kaniko:0.8.1
settings:
dockerfile: Dockerfile
context: .
depends_on:
- dockerhub-build-trigger