surtur
a85013bb78
All checks were successful
continuous-integration/drone/push Build is passing
* also add build status badges to README * add metadata to the image at build time using a build hook
30 lines
455 B
YAML
30 lines
455 B
YAML
---
|
|
kind: pipeline
|
|
name: dockerhub-build-trigger
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push
|
|
- cron
|
|
|
|
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
|