Add packages removing snippet

This commit is contained in:
Igor
2023-05-03 07:35:39 +02:00
parent 051e55778d
commit 0c1e38f3fc

View File

@@ -31,16 +31,6 @@ curl -L \
"https://api.github.com/${ORG}/packages/container/${RUNNER_ID}"
fi
# deleting a runner
#if [[ $RUNNER_NAME == ${DELETE} ]]; then
#curl -L \
# -X DELETE \
# -H "Accept: application/vnd.github+json" \
# -H "Authorization: Bearer ${TOKEN}"\
# -H "X-GitHub-Api-Version: 2022-11-28" \
# https://api.github.com/orgs/${ORG}/actions/runners/${RUNNER_ID}
#fi
done <<< $RUNNER
x=$(( $x + 1 ))
done