Added support for n8n webhook to trigger the build of other related images.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user