From b1f965cbf87d37e9e4ae0806d0af9340ac973c37 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 31 Dec 2023 22:23:39 +0200 Subject: can push to ECR --- Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3