From 4af558d4cee3cdad9cac74980eabdd2993d8c84a Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Sat, 25 May 2024 21:05:21 -0400 Subject: [PATCH] use fqdn for docker image references --- Containerfile | 4 ++-- hooks/post-receive | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index fb9aab2..8af6b85 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,6 @@ -FROM prologic/zs AS build +FROM docker.io/prologic/zs AS build COPY . . RUN zs build --production -FROM caddy/caddy:2.8-alpine +FROM docker.io/caddy/caddy:2.8-alpine COPY --from=build /data/.pub:/usr/share/caddy diff --git a/hooks/post-receive b/hooks/post-receive index 1f90c69..3becb96 100755 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -17,11 +17,11 @@ do } echo "generating static site"; { - podman compose build . --volume $PWD/.pub:/data/.pub + podman-compose build } echo "restarting server"; { - podman compose restart || podman compose up + podman-compose restart || podman compose up } fi done