diff --git a/.drone/build.sh b/.drone/build.sh index b9d1620..40b72ba 100644 --- a/.drone/build.sh +++ b/.drone/build.sh @@ -1,2 +1,3 @@ ---build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ \ - && docker build ghost -t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ghost +docker build ghost -t ${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ghost \ + --build-arg REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/ + diff --git a/docker-compose.yml b/docker-compose.yml index 475e0c9..4d0d819 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: replicas: 1 restart_policy: condition: any - image: ${LOCAL_DOCKER_REGISTRY}/ghost + image: ${LOCAL_DOCKER_REGISTRY}ghost volumes: - ghost-content-images:/var/lib/ghost/content/images - ghost-content-settings:/var/lib/ghost/content/settings