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