mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-28 09:43:20 -06:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ffe01b37ae | ||
|
|
6ccf13f61e | ||
|
|
06627b7c94 | ||
|
|
47a9a80143 |
@@ -16,6 +16,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "::set-output name=postgres::${TAG:0:4}"
|
echo "::set-output name=postgres::${TAG:0:4}"
|
||||||
echo "::set-output name=walg::${TAG:5:6}"
|
echo "::set-output name=walg::${TAG:5:6}"
|
||||||
|
|
||||||
|
- name: Setup deployment key
|
||||||
|
env:
|
||||||
|
KEY: ${{ secrets.SSH_KEY }}
|
||||||
|
run: |
|
||||||
|
apt-get install -y openssh-client
|
||||||
|
mkdir "$HOME/.ssh"
|
||||||
|
chmod 700 "$HOME/.ssh"
|
||||||
|
echo "$KEY" > "$HOME/.ssh/id_rsa"
|
||||||
|
chmod 600 "$HOME/.ssh/id_rsa"
|
||||||
|
echo "k3s-sd-03.koehn.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxtIAg5NYQJ3QLvGSDAYglixflcxOBlLyEOwwKh45Pw" > "$HOME/.ssh/known_hosts"
|
||||||
|
ssh -l root -- k3s-sd-03.koehn.com docker version
|
||||||
|
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: curl -fsSL https://get.docker.com | sh
|
run: curl -fsSL https://get.docker.com | sh
|
||||||
|
|||||||
Reference in new issue
Block a user