From e94582aabf1cd4cd4995421b351a2811e29eda52 Mon Sep 17 00:00:00 2001 From: Fran Arbanas Date: Tue, 5 Nov 2024 16:51:44 +0100 Subject: [PATCH] workflow fix --- .github/workflows/push-node-status-agent.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-node-status-agent.yaml b/.github/workflows/push-node-status-agent.yaml index ab022f2712..76848cacdd 100644 --- a/.github/workflows/push-node-status-agent.yaml +++ b/.github/workflows/push-node-status-agent.yaml @@ -41,7 +41,7 @@ jobs: run: | GATEWAY_PROBE_GIT_REF=${{ github.event.inputs.gateway_probe_git_ref }} GIT_REF_SLUG="${GATEWAY_PROBE_GIT_REF//\//-}" - echo "git_ref=${GIT_REF_SLUG}\n" >> $GITHUB_OUTPUT + echo "git_ref=${GIT_REF_SLUG}" >> $GITHUB_OUTPUT - name: Remove existing tag if exists run: | @@ -52,7 +52,7 @@ jobs: - name: Create tag run: | - git tag -a ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}-${{ steps.cleanup_gateway_probe_ref.outputs.git_ref }} -m "Version ${{ steps.get_version.outputs.result }}-${{ github.event.inputs.gateway_probe_git_ref }}" + git tag -a ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}-${{ steps.cleanup_gateway_probe_ref.outputs.git_ref }} -m "Version ${{ steps.get_version.outputs.result }}-${{ steps.cleanup_gateway_probe_ref.outputs.git_ref }}" git push origin ${{ env.WORKING_DIRECTORY }}-${{ steps.get_version.outputs.result }}-${{ steps.cleanup_gateway_probe_ref.outputs.git_ref }} - name: BuildAndPushImageOnHarbor