From 2a8c6c54e2993ef67c953e2267ba7d98137c6d0e Mon Sep 17 00:00:00 2001 From: Russ Poetker Date: Thu, 21 Mar 2024 16:16:45 -0400 Subject: [PATCH] Change image value to be parameterized --- .env | 3 +++ docker-compose.yml | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.env b/.env index e09aa5cc..ac30915b 100644 --- a/.env +++ b/.env @@ -1,5 +1,8 @@ PASS_VERSION=1.5.0-SNAPSHOT +IMAGE_URI=ghcr.io/eclipse-pass/ +IMAGE_VERSION=:${PASS_VERSION} + ################################################### # PASS_CORE config ################################ ################################################### diff --git a/docker-compose.yml b/docker-compose.yml index 6bdb5eb2..94ce88db 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ version: '3.8' # - eclipse-pass.nightly.yml services: auth: - image: "ghcr.io/eclipse-pass/pass-auth:${PASS_VERSION}" + image: "${IMAGE_URI}pass-auth${IMAGE_VERSION}" container_name: auth env_file: - .env @@ -31,7 +31,7 @@ services: - back pass-core: - image: "ghcr.io/eclipse-pass/pass-core-main:${PASS_VERSION}" + image: "${IMAGE_URI}pass-core-main${IMAGE_VERSION}" container_name: pass-core env_file: - .env @@ -39,7 +39,7 @@ services: - back pass-ui: - image: "ghcr.io/eclipse-pass/pass-ui:${PASS_VERSION}" + image: "${IMAGE_URI}pass-ui${IMAGE_VERSION}" build: context: ./ember args: @@ -64,7 +64,7 @@ services: proxy: build: ./demo-proxy/ - image: "ghcr.io/eclipse-pass/proxy:${PASS_VERSION}" + image: "${IMAGE_URI}proxy${IMAGE_VERSION}" container_name: proxy env_file: - .env