From 77a11840b68858a2e60307d2f80be58e5175a6cf Mon Sep 17 00:00:00 2001 From: Syncer Deploy Date: Fri, 28 Aug 2026 10:49:04 -0300 Subject: [PATCH] ci: authenticate cluster registry push --- .gitea/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1f7d277..4a9320f 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,6 +12,13 @@ jobs: with: fetch-depth: 1 + - name: Authenticate to the cluster registry + run: | + printf '%s' '${{ secrets.REGISTRY_PASSWORD }}' \ + | docker login registry.a2acloud.io \ + --username '${{ secrets.REGISTRY_USER }}' \ + --password-stdin + - name: Build production image in Kubernetes run: | set -euo pipefail