From 588ed8c055ea26a460e52b1c50d507122c97bf31 Mon Sep 17 00:00:00 2001 From: galal-hussein Date: Wed, 24 Jul 2024 20:38:55 +0300 Subject: [PATCH] Fix dispatch script Signed-off-by: galal-hussein --- scripts/dispatch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dispatch b/scripts/dispatch index 73d6bfa7bf..db6c3b48ad 100755 --- a/scripts/dispatch +++ b/scripts/dispatch @@ -7,7 +7,7 @@ REPO="https://api.github.com/repos/rancher/rke2-upgrade/dispatches" curl -XPOST -u "${PAT_USERNAME}:${PAT_TOKEN}" \ -H "Accept: application/vnd.github.everest-preview+json" \ -H "Content-Type: application/json" $REPO \ - --data '{"event_type": "create_tag", "client_payload": {"tag":"'"$DRONE_TAG"'"}}' + --data '{"event_type": "create_tag", "client_payload": {"tag":"'"$GITHUB_ACTION_TAG"'"}}' SYSTEM_AGENT_INSTALLER_RKE2_REPO="https://api.github.com/repos/rancher/system-agent-installer-rke2/dispatches" @@ -15,4 +15,4 @@ SYSTEM_AGENT_INSTALLER_RKE2_REPO="https://api.github.com/repos/rancher/system-ag curl -XPOST -u "${PAT_USERNAME}:${PAT_TOKEN}" \ -H "Accept: application/vnd.github.everest-preview+json" \ -H "Content-Type: application/json" $SYSTEM_AGENT_INSTALLER_RKE2_REPO \ - --data '{"event_type": "create_tag", "client_payload": {"tag":"'"$DRONE_TAG"'"}}' + --data '{"event_type": "create_tag", "client_payload": {"tag":"'"$GITHUB_ACTION_TAG"'"}}'