added automatic deployment to stage based on push
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
48d35ebc9e
commit
2a86868259
1 changed files with 2 additions and 4 deletions
|
|
@ -14,8 +14,6 @@ steps:
|
|||
registry: registry.coolify1.workaround.org
|
||||
repo: registry.coolify1.workaround.org/debshots
|
||||
driver: docker
|
||||
#cache_from: registry.coolify1.workaround.org/debshots:buildcache
|
||||
#cache_to: 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'
|
||||
dockerfile: Dockerfile
|
||||
|
|
@ -35,7 +33,7 @@ steps:
|
|||
image: curlimages/curl:latest
|
||||
commands:
|
||||
- |
|
||||
curl -H "Authorization: Bearer ${COOLIFY_STAGE_DEPLOY_TOKEN}" \
|
||||
curl -H "Authorization: Bearer $${COOLIFY_STAGE_DEPLOY_TOKEN}" \
|
||||
-X POST \
|
||||
-F "image=registry.coolify1.workaround.org/debshots:${CI_COMMIT_SHA:0:7}" \
|
||||
"${COOLIFY_STAGE_DEPLOY_WEBHOOK}"
|
||||
"$${COOLIFY_STAGE_DEPLOY_WEBHOOK}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue