Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| da5c319a5b | |||
| 5e5d0c8ecf |
+10
-10
@@ -19,22 +19,22 @@ 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 gitea >> ~/.ssh/known_hosts || true
|
||||
# We alias thunderobot to the internal gitea docker name so checkout action works
|
||||
printf "Host thunderobot\n HostName gitea\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: |
|
||||
|
||||
Reference in New Issue
Block a user