👷 Deploy built container image
Some checks failed
ci / docker (push) Failing after 9s
Python formatting PEP8 / Python-PEP8 (push) Successful in 17s

This commit is contained in:
Finn Christiansen 2024-06-30 20:41:51 +02:00
parent dc0c991ef4
commit c80bf88cea

View file

@ -36,3 +36,18 @@ jobs:
- name: Inspect
run: |
docker buildx imagetools inspect code.f2n.me/finn/matrix-bot-invitation-mailer:latest
- name: Deploy
uses: tristiisch/docker-stack-deployment@v2
with:
remote_docker_host: home.finnchristiansen.de
remote_docker_port: 44022
remote_docker_username: deploy
ssh_private_key: ${{ secrets.DOCKER_RPI4_SSH_PRIVATE_KEY }}
ssh_public_key: ${{ secrets.DOCKER_RPI4_SSH_PUBLIC_KEY }}
deployment_mode: docker-compose
copy_stack_file: false
deploy_path: /opt/stacks/matrix-bot-invitation-mailer
stack_file_path: ./compose.yaml
keep_files: 5
docker_remove_orphans: true
args: ""