mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
chore: build and deploy app image
This commit is contained in:
parent
de6ff0f2dc
commit
6789fd3c08
1 changed files with 24 additions and 8 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue