build: Define build-args within buildx action step
build-image / Semantic Release (Dry-run) (push) Successful in 55s Details
build-image / Container image (push) Failing after 4m51s Details

This commit is contained in:
Danny Bessems 2024-06-05 21:48:53 +10:00
parent 822c235f3f
commit 752f46a358
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ jobs:
push: true push: true
context: . context: .
tags: djpbessems/packer-extended:${{ needs.semrel_dryrun.outputs.version }} tags: djpbessems/packer-extended:${{ needs.semrel_dryrun.outputs.version }}
build-args: |
REPO_USERNAME=${{ secrets.REPO_USERNAME }}
REPO_PASSWORD=${{ secrets.REPO_PASSWORD }}
env: env:
DOCKER_HOST: "tcp://docker:2376/" DOCKER_HOST: "tcp://docker:2376/"
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"