From 5c68e72d361e809861fa19d18f3d297d08ca13b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 7 Apr 2020 14:20:27 +0200 Subject: [PATCH] Fix image building with custom registry --- tutornotes/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutornotes/plugin.py b/tutornotes/plugin.py index 440d838..7440970 100644 --- a/tutornotes/plugin.py +++ b/tutornotes/plugin.py @@ -24,8 +24,8 @@ config = { templates = pkg_resources.resource_filename("tutornotes", "templates") hooks = { "init": ["mysql", "lms", "notes"], - "build-image": {"notes": "{{ NOTES_DOCKER_IMAGE }}"}, - "remote-image": {"notes": "{{ NOTES_DOCKER_IMAGE }}"}, + "build-image": {"notes": "{{ DOCKER_REGISTRY }}{{ NOTES_DOCKER_IMAGE }}"}, + "remote-image": {"notes": "{{ DOCKER_REGISTRY }}{{ NOTES_DOCKER_IMAGE }}"}, }