TEST
Build Coredns with netboxdns plugin / build (push) Failing after -1s

This commit is contained in:
2025-12-23 23:00:26 -07:00
parent efba990b60
commit ec7628c1ec
+1
View File
@@ -19,6 +19,7 @@ main() {
# get latest tag (annotated or lightweight) # get latest tag (annotated or lightweight)
git clone --depth=1 --filter=blob:none --tags "${COREDNS_REPO_URL}" "${COREDNS_DIR}" git clone --depth=1 --filter=blob:none --tags "${COREDNS_REPO_URL}" "${COREDNS_DIR}"
cd "${COREDNS_DIR}" cd "${COREDNS_DIR}"
git fetch --tags
LATEST_TAG="$(git tag --list --sort=-version:refname | head -n 1)" LATEST_TAG="$(git tag --list --sort=-version:refname | head -n 1)"
git fetch --tags --depth=1 origin "${LATEST_TAG}" git fetch --tags --depth=1 origin "${LATEST_TAG}"
git checkout "${LATEST_TAG}" git checkout "${LATEST_TAG}"