Use Docker image for CLI instead of Gitea DEB download

Run sfp CLI directly from inside the pulled server image via
docker run, removing the need for a separate GITEA_TOKEN and
CLI download step. Default TLS mode changed to letsencrypt.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 11:20:31 +10:00
parent 718cb1c4e1
commit 44020ee09f
6 changed files with 127 additions and 252 deletions
+4 -10
View File
@@ -12,13 +12,10 @@
# ============================================================
# Token to authenticate with Docker registry for pulling images
# The SFP CLI is also used directly from inside the pulled image
# GitHub Secret: DOCKER_REGISTRY_TOKEN
# DOCKER_REGISTRY_TOKEN=
# Token for source.flxbl.io Gitea API (CLI download)
# GitHub Secret: GITEA_TOKEN
# GITEA_TOKEN=
# SSH private key to access the remote server
# GitHub Secret: SSH_PRIVATE_KEY
# SSH_PRIVATE_KEY=
@@ -60,8 +57,9 @@
# GitHub Variable: SSH_USER
# SSH_USER=root
# Full Docker image path (optional, overrides default)
# Example: source.flxbl.io/flxbl/sfp-server
# Full Docker image path (required)
# Example: ghcr.io/flxbl-io/sfp-server-rc, source.flxbl.io/flxbl/sfp-server
# The sfp CLI is used directly from inside this image
# GitHub Variable: IMAGE_FQDN
# IMAGE_FQDN=
@@ -78,10 +76,6 @@
# GitHub Variable: BASE_DIR
# BASE_DIR=./sfp-server
# SFP CLI version to download (optional, default: latest)
# GitHub Variable: SFP_CLI_VERSION
# SFP_CLI_VERSION=latest
# ============================================================
# Auto-generated during init (persisted on server's .env)
# ============================================================