build: Pass build arguments through kaniko extra-vars
Some checks failed
Container / Semantic Release (Dry-run) (push) Successful in 52s
Container / Container image (push) Failing after 4m21s
Container / Semantic Release (push) Has been skipped

This commit is contained in:
Danny Bessems 2024-06-05 13:35:18 +10:00
parent dda78b7334
commit 98478ff55d

View File

@ -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 }}