ci: push to git.dotya.ml registry
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-04-01 22:20:08 +02:00
parent 6a5fbc4501
commit b68f9a2a88
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,46 +1,34 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: kaniko-build name: kaniko-build-publish
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
steps: steps:
- name: build - name: kaniko-build-publish
pull: always pull: always
image: immawanderer/drone-kaniko:linux-amd64 image: plugins/kaniko:1.4.4-linux-amd64-kaniko1.8.0
settings: settings:
dockerfile: Dockerfile dockerfile: Dockerfile
context: . context: .
tags:
--- - linux-amd64
kind: pipeline - ${DRONE_COMMIT_SHA:0:8}
type: docker registry: git.dotya.ml
name: dockerhub-build-trigger repo: wanderer/alpine-rsync
username:
platform: from_secret: username
os: linux password:
arch: amd64 from_secret: token
when:
clone: ref:
disable: true - refs/heads/master
event:
steps: exclude: [pull_request, tag]
- name: call webhook include: [push, cron]
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
depends_on:
- kaniko-build
--- ---
kind: pipeline kind: pipeline
@ -86,7 +74,7 @@ trigger:
- failure - failure
depends_on: depends_on:
- dockerhub-build-trigger - kaniko-build-publish
--- ---
kind: pipeline kind: pipeline
@ -131,4 +119,4 @@ trigger:
- failure - failure
depends_on: depends_on:
- dockerhub-build-trigger - kaniko-build-publish