From 379c1eb0d013928594636d8d02ef8cc893a1fcf8 Mon Sep 17 00:00:00 2001 From: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:11:59 +0000 Subject: [PATCH] Update push-network-monitor.yaml --- .github/workflows/push-network-monitor.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-network-monitor.yaml b/.github/workflows/push-network-monitor.yaml index 075b1e5672..6856ec88d1 100644 --- a/.github/workflows/push-network-monitor.yaml +++ b/.github/workflows/push-network-monitor.yaml @@ -33,8 +33,9 @@ jobs: - name: Remove existing tag if exists run: | + echo "Checking if tag ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.result }} exists..." if git rev-parse ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.result }} >/dev/null 2>&1; then - echo "Tag ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.value }} already exists" + echo "Tag ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.result }} already exists" git push --delete origin ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.result }} git tag -d ${{ env.CONTAINER_NAME }}-${{ steps.get_version.outputs.result }} fi