3 Commits

Author SHA1 Message Date
adtpdn ab3ffbbec8 chore(ci): alias both gitea and thunderobot directly to IP
Release / Build & Release (push) Failing after 7m27s
2026-07-03 18:01:36 +08:00
adtpdn da5c319a5b chore(ci): use internal gitea docker networking alias for checkout
Release / Build & Release (push) Failing after 1m5s
2026-07-03 17:56:10 +08:00
adtpdn 5e5d0c8ecf chore(ci): move network connect step before checkout
Release / Build & Release (push) Failing after 1m3s
2026-07-03 17:41:56 +08:00
+11 -10
View File
@@ -19,22 +19,23 @@ jobs:
with:
ssh-private-key: ${{ secrets.TEKTON_SSH_KEY }}
- name: Install tools
run: apt-get update -qq && apt-get install -y -qq curl unzip
- name: Add Gitea SSH Host Key
run: |
mkdir -p ~/.ssh
printf "Host 172.18.0.1\n Port 222\n StrictHostKeyChecking no\n" > ~/.ssh/config
ssh-keyscan -p 22 172.18.0.2 >> ~/.ssh/known_hosts || true
# Direct IP routing avoids dns completely
printf "Host gitea\n HostName 172.18.0.2\n Port 22\n StrictHostKeyChecking no\n" > ~/.ssh/config
printf "Host thunderobot\n HostName 172.18.0.2\n Port 22\n StrictHostKeyChecking no\n" >> ~/.ssh/config
chmod 600 ~/.ssh/config
- name: Checkout Code
run: |
git clone ssh://git@172.18.0.1:222/danchie/tekton.git .
git checkout $TAG_NAME
- name: Install tools
run: apt-get update -qq && apt-get install -y -qq docker.io curl unzip
- name: Connect job container to gitea_default network
run: docker network connect gitea_default $(hostname)
uses: actions/checkout@v4
with:
repository: danchie/tekton
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
- name: Setup Godot (Cached)
run: |