parent
2636e3e3ab
commit
d4695cb53a
1 changed files with 6 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ steps:
|
|||
repo: registry.coolify1.workaround.org/debshots
|
||||
driver: docker
|
||||
cache_from: 'type=registry\\,ref=registry.coolify1.workaround.org/debshots:buildcache'
|
||||
cache_to: 'type=registry,ref=registry.coolify1.workaround.org/debshots:buildcache,mode=max'
|
||||
cache_to: 'type=registry\\,ref=registry.coolify1.workaround.org/debshots:buildcache,mode=max'
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
|
|
@ -31,6 +31,9 @@ steps:
|
|||
|
||||
deploy-to-stage:
|
||||
image: curlimages/curl:latest
|
||||
when:
|
||||
- event: push
|
||||
- event: manual
|
||||
environment:
|
||||
# Key: The name in your script ($COOLIFY_STAGE_DEPLOY_TOKEN)
|
||||
# Value: The name of the secret in Woodpecker's UI
|
||||
|
|
@ -40,6 +43,6 @@ steps:
|
|||
from_secret: COOLIFY_STAGE_DEPLOY_WEBHOOK
|
||||
commands:
|
||||
- |
|
||||
curl -H "Authorization: Bearer ${COOLIFY_STAGE_DEPLOY_TOKEN}" \
|
||||
curl -H "Authorization: Bearer $$COOLIFY_STAGE_DEPLOY_TOKEN" \
|
||||
-X POST \
|
||||
"${COOLIFY_STAGE_DEPLOY_WEBHOOK}"
|
||||
"$$COOLIFY_STAGE_DEPLOY_WEBHOOK"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue