From 98478ff55dc6632e35564ec5c245de024f71b414 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Wed, 5 Jun 2024 13:35:18 +1000 Subject: [PATCH] build: Pass build arguments through kaniko extra-vars --- .gitea/workflows/actions.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 3796a9c..69b982b 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -54,7 +54,9 @@ jobs: - name: Kaniko build uses: aevea/action-kaniko@master with: - # extra_args: -v debug + extra_args: | + --build-arg REPO_USERNAME=${{ secrets.REPO_USERNAME }} \ + --build-arg REPO_PASSWORD=${{ secrets.REPO_PASSWORD }} registry: code.spamasaurus.com image: djpbessems/packer-extended username: ${{ secrets.GIT_USERNAME }}