--- 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