fix: add DOCKER_REGISTRY for tests image

This commit is contained in:
Julien Neuhart
2024-09-15 16:12:45 +02:00
parent f2b6bd3d4b
commit e371a4a3c3
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
ARG GOLANG_VERSION
ARG DOCKER_REGISTRY
ARG DOCKER_REPOSITORY
ARG GOTENBERG_VERSION
ARG GOLANGCI_LINT_VERSION
@@ -7,7 +8,7 @@ FROM golang:$GOLANG_VERSION-bookworm AS golang
# We're extending the Gotenberg's Docker image because our code relies on external
# dependencies like Google Chrome, LibreOffice, etc.
FROM $DOCKER_REPOSITORY/gotenberg:$GOTENBERG_VERSION
FROM $DOCKER_REGISTRY/$DOCKER_REPOSITORY:$GOTENBERG_VERSION
USER root