summaryrefslogtreecommitdiffstats
path: root/deploy.sh
blob: 2f6a403d4d2608ca80ba61ae6c5990b569f9aa07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -euxo pipefail

IMAGE=registry.jan.systems/jan-systems-2024:latest

# Build
docker build --platform linux/amd64 -t "$IMAGE" .
docker push "$IMAGE"

# Deploy
ssh jan.systems 'cd deployments/garden && bash dc-restart.sh'