Corrected passing multiple buildargs
This commit is contained in:
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@@ -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 }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user