From 93f81e3b0ab0b1e712fd6d74d64066d2065d0615 Mon Sep 17 00:00:00 2001 From: Marty Tippin <120425148+tippmar-nr@users.noreply.github.com> Date: Wed, 5 Jun 2024 14:56:58 -0500 Subject: [PATCH] set latest tag only if no agent version was specified on input --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c5211c7..f5b811a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -165,7 +165,7 @@ jobs: images: newrelic/newrelic-dotnet-init tags: | type=raw,value=${{ steps.version.outputs.agent_version }} - type=raw,value=latest + type=raw,value=latest,enable=${{ inputs.agent_version == '' }} - name: Login to Docker Hub Container Registry uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # 3.1.0