From 4ae463cf5d7c2f513a6a1efbbb0e090b50761064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?= =?UTF-8?q?=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Wed, 5 Jun 2024 07:42:24 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bc5296..4c84381 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ ARG DOCKER_REGISTRY=registry.cyberbrain.pw -FROM $DOCKER_REGISTRY/tools/docker/git/main:latest + +ARG GIT_IMAGE=tools/docker/git/main +ARG GIT_TAG=latest + +FROM $DOCKER_REGISTRY/$GIT_IMAGE:$GIT_TAG AS runtime WORKDIR /tmp/openwrt @@ -14,3 +18,5 @@ RUN set -ex && \ COPY entrypoint.sh /entrypoint.sh COPY sync.sh /sync.sh + +FROM runtime AS release -- GitLab