[OPB-3] using arguments for deployment docker image build, in order to access the abstracto registry

This commit is contained in:
Sheldan
2021-03-23 12:38:37 +01:00
parent 070893fe6a
commit 6818e390be
3 changed files with 14 additions and 3 deletions

View File

@@ -1,4 +1,6 @@
FROM docker.pkg.github.com/sheldan/abstracto/abstracto_deployment:latest
ARG ABSTRACTO_REGISTRY_PREFIX=
ARG ABSTRACTO_VERSION=latest
FROM ${ABSTRACTO_REGISTRY_PREFIX}abstracto_deployment:${ABSTRACTO_VERSION}
MAINTAINER Sheldan
ADD template-artifacts /templates
ADD translation-artifacts /translations

View File

@@ -11,7 +11,11 @@ services:
build: pgAdmin
image: ${REGISTRY_PREFIX}oneplus_bot_pg_admin:${VERSION:-latest}
deployment_container:
build: deployment
build:
context: deployment
args:
ABSTRACTO_REGISTRY_PREFIX: ${ABSTRACTO_REGISTRY_PREFIX}
ABSTRACTO_VERSION: ${ABSTRACTO_VERSION}
image: ${REGISTRY_PREFIX}oneplus_bot_deployment:${VERSION:-latest}
prometheus:
build: prometheus