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 - ci
steps: steps:
deploy: build-latest-container:
image: alpine:latest image: woodpeckerci/plugin-docker-buildx:6.0.3
environment: settings:
DEPLOY_URL: registry: codeberg.org
from_secret: COOLIFY_DEPLOY_WEBHOOK username: ${CI_REPO_OWNER}
commands: password:
- apk add --no-cache curl from_secret: CONTAINER_REGISTRY_TOKEN
- curl -X POST "$${DEPLOY_URL}" 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"