From 0795ade6fbbc9dda6dcd848c534ce4507fec6022 Mon Sep 17 00:00:00 2001 From: khalil-bot Date: Thu, 28 May 2026 11:39:05 +0200 Subject: [PATCH] fix(ci): inject API credentials in docker job before image build --- .github/workflows/ui.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 0180cb2..e7429fc 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -83,6 +83,11 @@ jobs: echo "extra=${IMAGE_LC}:branch-${SAFE}" >> $GITHUB_OUTPUT fi + - name: Inject API credentials + run: | + sed -i "s/__API_USERNAME__/${{ secrets.API_USERNAME }}/g" ui/src/environments/environment.prod.ts + sed -i "s/__API_PASSWORD__/${{ secrets.API_PASSWORD }}/g" ui/src/environments/environment.prod.ts + - name: Login to GHCR uses: docker/login-action@v3 with: