aboutsummaryrefslogtreecommitdiffstats
path: root/build-and-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-and-push.sh')
-rwxr-xr-xbuild-and-push.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-and-push.sh b/build-and-push.sh
new file mode 100755
index 0000000..ae3f04b
--- /dev/null
+++ b/build-and-push.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+IMAGE=registry.jan.systems/jan-systems-website:latest
+
+set -euxo pipefail
+docker build --platform linux/amd64 -t $IMAGE .
+docker push $IMAGE