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:
|
with:
|
||||||
ssh-private-key: ${{ secrets.TEKTON_SSH_KEY }}
|
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
|
- name: Install tools
|
||||||
run: apt-get update -qq && apt-get install -y -qq docker.io curl unzip
|
run: apt-get update -qq && apt-get install -y -qq docker.io curl unzip
|
||||||
|
|
||||||
- name: Connect job container to gitea_default network
|
- name: Connect job container to gitea_default network
|
||||||
run: docker network connect gitea_default $(hostname)
|
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)
|
- name: Setup Godot (Cached)
|
||||||
run: |
|
run: |
|
||||||
apt-get install -y zip
|
apt-get install -y zip
|
||||||
|
|||||||
Reference in New Issue
Block a user