mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-27 09:43:20 -06:00
Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
181d81d8b6 | ||
|
|
fe1d076b54 | ||
|
|
d644e427bf | ||
|
|
2843231ba3 | ||
|
|
d38cf5c191 | ||
|
|
aab6a0cbc3 | ||
|
|
3f5f137aac | ||
|
|
f1b9fe6c8f | ||
|
|
63777d0241 | ||
|
|
ffe01b37ae | ||
|
|
6ccf13f61e | ||
|
|
06627b7c94 | ||
|
|
47a9a80143 |
@@ -16,6 +16,22 @@ jobs:
|
||||
run: |
|
||||
echo "::set-output name=postgres::${TAG:0:4}"
|
||||
echo "::set-output name=walg::${TAG:5:6}"
|
||||
|
||||
- name: Setup deployment key
|
||||
env:
|
||||
KEY: ${{ secrets.SSH_KEY }}
|
||||
KNOWN_HOSTS: ${{ secrets.KNOWN_HOSTS }}
|
||||
run: |
|
||||
mkdir "$HOME/.ssh"
|
||||
chmod 700 "$HOME/.ssh"
|
||||
echo "$KEY" > "$HOME/.ssh/id_rsa"
|
||||
chmod 600 "$HOME/.ssh/id_rsa"
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add "$HOME/.ssh/id_rsa"
|
||||
echo "::set-output name=ssd-path::$HOME/.ssh"
|
||||
echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID"
|
||||
echo "::set-output name=ssh-auth-sock::$SSH_AUTH_SOCK"
|
||||
ssh -o StrictHostKeyChecking=no -l root -- k3s-sd-03.koehn.com docker version
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
@@ -27,8 +43,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
append: |
|
||||
- name: k3s-sd-03
|
||||
endpoint: ssh://root@k3s-sd-03.koehn.com
|
||||
- endpoint: ssh://root@k3s-sd-03.koehn.com
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in new issue
Block a user