Corrected ref name usage
This commit is contained in:
8
.github/workflows/publish.yml
vendored
8
.github/workflows/publish.yml
vendored
@@ -16,19 +16,19 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
image: tiobesoftware/github-runner-windows
|
image: tiobesoftware/github-runner-windows
|
||||||
tags: ${{ github.ref }}-20H2
|
tags: ${{ github.ref_name }}-20H2
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
buildArgs: |
|
buildArgs: |
|
||||||
SERVERCORE_VERSION="ltsc2022"
|
SERVERCORE_VERSION="ltsc2022"
|
||||||
RUNNER_VERSION="${{ github.ref }}"
|
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:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
image: tiobesoftware/github-runner-windows
|
image: tiobesoftware/github-runner-windows
|
||||||
tags: ${{ github.ref }}, latest
|
tags: ${{ github.ref_name }}, latest
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
buildArgs: |
|
buildArgs: |
|
||||||
SERVERCORE_VERSION="20H2"
|
SERVERCORE_VERSION="20H2"
|
||||||
RUNNER_VERSION="${{ github.ref }}"
|
RUNNER_VERSION="${{ github.ref_name }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user