chore: build and deploy app image

This commit is contained in:
JasterV 2026-04-25 01:57:29 +02:00
parent de6ff0f2dc
commit 6789fd3c08

View file

@ -6,11 +6,27 @@ depends_on:
- ci
steps:
deploy:
image: alpine:latest
environment:
DEPLOY_URL:
from_secret: COOLIFY_DEPLOY_WEBHOOK
commands:
- apk add --no-cache curl
- curl -X POST "$${DEPLOY_URL}"
build-latest-container:
image: woodpeckerci/plugin-docker-buildx:6.0.3
settings:
registry: codeberg.org
username: ${CI_REPO_OWNER}
password:
from_secret: CONTAINER_REGISTRY_TOKEN
repo: codeberg.org/jasterv/spazio-solazzo
dockerfile: "Dockerfile"
tags: sha-${CI_COMMIT_SHA},latest
# deploy:
# image: alpine:latest
# environment:
# DEPLOY_URL:
# from_secret: COOLIFY_DEPLOY_WEBHOOK
# DEPLOY_TOKEN:
# from_secret: COOLIFY_DEPLOY_API_TOKEN
# commands:
# - apk add --no-cache curl
# - |
# curl --request GET "$${DEPLOY_URL}" \
# --header "Authorization: Bearer $${DEPLOY_TOKEN}" \
# --header "Content-Type: application/json"