Skip to content

Commit 3db6938

Browse files
committed
Remove --unattended on removal
1 parent 66e13b7 commit 3db6938

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

focal-amd64/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ fi
2121
remove() {
2222
if [[ "${RUNNER_REGISTER_TO}" == *\/* ]]; then
2323
# Contain "/", to Repo
24-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
24+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
2525
else
2626
# Not contain "/", to Org
27-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
27+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
2828
fi
2929
}
3030

focal-arm64/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ fi
2121
remove() {
2222
if [[ "${RUNNER_REGISTER_TO}" == *\/* ]]; then
2323
# Contain "/", to Repo
24-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
24+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
2525
else
2626
# Not contain "/", to Org
27-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
27+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
2828
fi
2929
}
3030

jammy-amd64/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ fi
2121
remove() {
2222
if [[ "${RUNNER_REGISTER_TO}" == *\/* ]]; then
2323
# Contain "/", to Repo
24-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
24+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
2525
else
2626
# Not contain "/", to Org
27-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
27+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
2828
fi
2929
}
3030

jammy-arm64/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ fi
2121
remove() {
2222
if [[ "${RUNNER_REGISTER_TO}" == *\/* ]]; then
2323
# Contain "/", to Repo
24-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
24+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/repo/${RUNNER_REGISTER_TO}/remove-token)
2525
else
2626
# Not contain "/", to Org
27-
./config.sh --unattended remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
27+
./config.sh remove --token $(curl ${KMS_SERVER_ADDR}/${RUNNER_REGISTER_TO}/remove-token)
2828
fi
2929
}
3030

0 commit comments

Comments
 (0)