summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-12-31 22:23:39 +0200
committerPaul Buetow <paul@buetow.org>2023-12-31 22:23:39 +0200
commitb1f965cbf87d37e9e4ae0806d0af9340ac973c37 (patch)
treee21a9cb7073981b7de52c097ac51b465d8c1ef61
parent5cd21aa26581553810f06dba9a5038153affe5d2 (diff)
can push to ECR
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 08c3b42..b0ef3d7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
build:
docker build -t radicale .
-run:
+run: build
if [ ! -d collections ]; then mkdir collections; fi
if [ ! -d auth ]; then mkdir auth; fi
cp -v htpasswd-test auth/htpasswd
@@ -10,4 +10,6 @@ run:
-v auth:/auth \
-p 5232:5232 \
--name radicale radicale
-br: build run
+aws: build
+ docker tag radicale:latest 634617747016.dkr.ecr.eu-central-1.amazonaws.com/radicale:latest
+ docker push 634617747016.dkr.ecr.eu-central-1.amazonaws.com/radicale:latest