From 129c8b37189b0f27ce4841b5d5b48ec9aa870745 Mon Sep 17 00:00:00 2001 From: Albie Spriddell Date: Mon, 30 Dec 2024 19:27:40 +0000 Subject: [PATCH] fix envvars --- .github/workflows/publish-docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml index b8c5930..46ec743 100644 --- a/.github/workflows/publish-docker.yml +++ b/.github/workflows/publish-docker.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ github.env.DOTNET_TARGET_VER }}.x + dotnet-version: ${{ env.DOTNET_TARGET_VER }}.x - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 @@ -42,7 +42,7 @@ jobs: - name: Image Build and Push uses: docker/build-push-action@v6 with: - context: ${{ matrix.project.name }}/bin/Release/net${{ github.env.DOTNET_TARGET_VER }}/publish + context: ${{ matrix.project.name }}/bin/Release/net${{ env.DOTNET_TARGET_VER }}/publish tags: dragonfruitdotnet/onionfruit-web:${{ matrix.project.tag-prefix }}linux platforms: linux/arm64,linux/amd64 file: ${{ matrix.project.name }}/Dockerfile @@ -64,7 +64,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ github.env.DOTNET_TARGET_VER }}.x + dotnet-version: ${{ env.DOTNET_TARGET_VER }}.x - uses: docker/login-action@v3 with: @@ -78,7 +78,7 @@ jobs: run: dotnet publish -c Release -p:UseAppHost=false -p:Version=${{ github.event.release.tag_name }} ${{ matrix.project.name }} - name: Image Build - run: docker build -f ${{ matrix.project.name }}\Dockerfile -t ${{ env.DOCKER_TAG }} --build-arg "IMAGEVARIANT=nanoserver-ltsc2022" ${{ matrix.project.name }}\bin\Release\net${{ github.env.DOTNET_TARGET_VER }}\publish + run: docker build -f ${{ matrix.project.name }}\Dockerfile -t ${{ env.DOCKER_TAG }} --build-arg "IMAGEVARIANT=nanoserver-ltsc2022" ${{ matrix.project.name }}\bin\Release\net${{ env.DOTNET_TARGET_VER }}\publish - name: Image Push run: docker push ${{ env.DOCKER_TAG }}