From 16df38ffde48d5b3668e8fbc240c0f7a457ca107 Mon Sep 17 00:00:00 2001 From: Hussein Galal Date: Wed, 24 Jul 2024 21:37:23 +0300 Subject: [PATCH] Fix dispatch script (#6406) 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"'"}}'