From 51d28464faf27bd492cc3e95f1e214a85929e352 Mon Sep 17 00:00:00 2001 From: gibbyDev Date: Sat, 20 Jun 2026 15:47:07 -0400 Subject: [PATCH] changed dockerfiles to be compatible with new protoc --- .gitea/workflows/deploy.yml | 35 +++++++++++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..2d94614 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,35 @@ +name: Deploy to Proxmox LXC + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: self-hosted + steps: + - name: Configure SSH key + env: + DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} + DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} + DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }} + run: | + set -euo pipefail + mkdir -p ~/.ssh + chmod 700 ~/.ssh + printf "%s" "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan -p "${DEPLOY_PORT:-22}" -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts + + - name: Deploy latest main + env: + DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} + DEPLOY_USER: ${{ secrets.DEPLOY_USER }} + DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }} + run: | + set -euo pipefail + ssh -p "${DEPLOY_PORT:-22}" \ + -i ~/.ssh/id_ed25519 \ + "$DEPLOY_USER@$DEPLOY_HOST" \ + "/usr/local/bin/deploy-go-microservices.sh" diff --git a/README.md b/README.md index 9003349..ff19725 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Go Microservices - +Test for actions workflows Go-based microservices backend with a REST API gateway, gRPC service-to-service communication, JWT auth, and local observability tooling. ## Overview