chore(ci): move network connect step before checkout
Release / Build & Release (push) Failing after 1m3s
Release / Build & Release (push) Failing after 1m3s
This commit is contained in:
+11
-11
@@ -19,23 +19,23 @@ jobs:
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
|
||||
- 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
|
||||
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)
|
||||
|
||||
- name: Add Gitea SSH Host Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
ssh-keyscan -p 222 thunderobot >> ~/.ssh/known_hosts || true
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: danchie/tekton
|
||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||
|
||||
- name: Setup Godot (Cached)
|
||||
run: |
|
||||
apt-get install -y zip
|
||||
|
||||
Reference in New Issue
Block a user