Added support for n8n webhook to trigger the build of other related images.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
1 parent
d84e753e95
commit
d66652e79d
1 file changed
+10
-1
+10
-1
@@ -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