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

This commit is contained in:
2025-12-23 23:15:30 -07:00
parent fc9e9ee627
commit 01476201d7
+2 -9
View File
@@ -24,17 +24,10 @@ main() {
git fetch --tags --depth=1 origin "${LATEST_TAG}" git fetch --tags --depth=1 origin "${LATEST_TAG}"
git checkout "${LATEST_TAG}" git checkout "${LATEST_TAG}"
# 3. Clone the GitHub Action's repo (this repo) # 3. Clone the GitHub Action's repo (this repo)
ACTION_REPO_DIR="${TMPDIR}/action-repo" ACTION_REPO_DIR="${TMPDIR}/action-repo"
#CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git" mkdir "${ACTION_REPO_DIR}"
CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git" cp -a . "${ACTION_REPO_DIR}/"
git clone "$CLONE_URL" "${ACTION_REPO_DIR}"
git clone "https://github.com/${GITHUB_REPOSITORY}.git" "${ACTION_REPO_DIR}"
if [ -n "${GITHUB_SHA:-}" ]; then
cd "${ACTION_REPO_DIR}"
git checkout "${GITHUB_SHA}"
fi
# 4. cd into the CoreDNS repo # 4. cd into the CoreDNS repo
cd "${COREDNS_DIR}" cd "${COREDNS_DIR}"