Corrected passing multiple buildargs

This commit is contained in:
janssen
2024-09-06 16:27:21 +02:00
parent 8a984852ae
commit 6bf569ec26

View File

@@ -18,9 +18,7 @@ jobs:
image: tiobesoftware/github-runner-windows image: tiobesoftware/github-runner-windows
tags: ${{ github.ref_name }}-20H2 tags: ${{ github.ref_name }}-20H2
registry: docker.io registry: docker.io
buildArgs: | buildArgs: SERVERCORE_VERSION="ltsc2022",RUNNER_VERSION="${{ github.ref_name }}"
SERVERCORE_VERSION="ltsc2022"
RUNNER_VERSION="${{ github.ref_name }}"
- name: Build & push (20H2) - name: Build & push (20H2)
uses: mr-smithers-excellent/docker-build-push@v6 uses: mr-smithers-excellent/docker-build-push@v6
with: with:
@@ -29,6 +27,4 @@ jobs:
image: tiobesoftware/github-runner-windows image: tiobesoftware/github-runner-windows
tags: ${{ github.ref_name }}, latest tags: ${{ github.ref_name }}, latest
registry: docker.io registry: docker.io
buildArgs: | buildArgs: SERVERCORE_VERSION="20H2",RUNNER_VERSION="${{ github.ref_name }}"
SERVERCORE_VERSION="20H2"
RUNNER_VERSION="${{ github.ref_name }}"