👷 Try another approach for update container image
This commit is contained in:
parent
6199d620e8
commit
d6f9924a5c
1 changed files with 10 additions and 11 deletions
|
@ -37,15 +37,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools inspect code.f2n.me/finn/matrix-bot-invitation-mailer:latest
|
docker buildx imagetools inspect code.f2n.me/finn/matrix-bot-invitation-mailer:latest
|
||||||
|
|
||||||
- name: Deploy
|
- name: Do Docker Compose Pull via SSH
|
||||||
uses: https://github.com/keatonLiu/docker-compose-remote-action@master
|
uses: https://github.com/appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
ssh_host: home.finnchristiansen.de
|
key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }}
|
||||||
ssh_port: 44022
|
fingerprint: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }}
|
||||||
ssh_user: deploy
|
host: home.finnchristiansen.de
|
||||||
ssh_private_key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }}
|
username: dploy
|
||||||
ssh_host_public_key: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }}
|
port: 44022
|
||||||
workspace: /opt/stacks/matrix-bot-invitation-mailer
|
script: |
|
||||||
docker_compose_filename: compose.yml
|
cd /opt/stacks/matrix-bot-invitation-mailer
|
||||||
workspace_keep: true
|
docker compose pull && docker compose up -d --force-recreate
|
||||||
docker_args: -d --remove-orphans
|
|
||||||
|
|
Loading…
Reference in a new issue