meta: add CI to build debian package #1

Merged
restitux merged 33 commits from ci into master 2025-12-24 07:36:36 +00:00
Showing only changes of commit 01476201d7 - Show all commits
+2 -9
View File
@@ -24,17 +24,10 @@ main() {
git fetch --tags --depth=1 origin "${LATEST_TAG}"
git checkout "${LATEST_TAG}"
# 3. Clone the GitHub Action's repo (this repo)
ACTION_REPO_DIR="${TMPDIR}/action-repo"
#CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git"
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
mkdir "${ACTION_REPO_DIR}"
cp -a . "${ACTION_REPO_DIR}/"
# 4. cd into the CoreDNS repo
cd "${COREDNS_DIR}"