From b14e70792e656a54d238ff95524ebbc5f13d6c9e Mon Sep 17 00:00:00 2001 From: sittichok Ouamsiri Date: Sat, 13 Jun 2026 23:24:17 +0700 Subject: [PATCH] fix: pass PAT secrets to template for registry auth Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 558d3c3..fee83c1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,7 +12,10 @@ permissions: jobs: trigger-internal-build: - uses: infras/workflow-templates/.gitea/workflows/docker-template.yml@c136ee94507f337048f0257465d52f5a270e308a + uses: infras/workflow-templates/.gitea/workflows/docker-template.yml@4e34f8467cfab0bf56b4155285a5612a3c9ec6d3 with: image_name: 'simple-http-server' - image_tag: ${{ gitea.ref_name }} \ No newline at end of file + image_tag: ${{ gitea.ref_name }} + secrets: + REGISTRY_USER: ${{ secrets.REGISTRY_USER }} + REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} \ No newline at end of file