summaryrefslogtreecommitdiffstats
path: root/deploy.sh
blob: c200cbf70f5cd77e4da5700dc68a01599243c67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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'