Added support for n8n webhook to trigger the build of other related images.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-16 05:10:40 +08:00
parent d84e753e95
commit d66652e79d

View File

@@ -8,7 +8,7 @@ steps:
commands:
- echo "$(date "+%Y-%m-%d"), latest" > .tags
- name: &name ubuntu-22
- name: ubuntu-22
image: &image thegeeklab/drone-docker-buildx:23
depends_on: &depends
- create_tags
@@ -65,3 +65,12 @@ steps:
- type=local\\,src=/cache/${DRONE_REPO}/ubuntu-18.04
cache_to:
- type=local,dest=/cache/${DRONE_REPO}/ubuntu-18.04,mode=max
- name: send_n8n
image: curlimages/curl:latest
depends_on:
- ubuntu-22
- ubuntu-20
- ubuntu-18
commands:
- curl https://n8n.ahkhan.me/webhook/drone/gitea/docker/ubuntu -H 'Authorization:Bearer wJlK5lDvTUS03Cfd4RWKyQ'