diff options
Diffstat (limited to 'dockerfiles/single.Dockerfile')
-rw-r--r-- | dockerfiles/single.Dockerfile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/dockerfiles/single.Dockerfile b/dockerfiles/single.Dockerfile index 6aa88c17..d32e8537 100644 --- a/dockerfiles/single.Dockerfile +++ b/dockerfiles/single.Dockerfile @@ -24,15 +24,10 @@ FROM ruby:2.7.6-alpine3.16 AS builder # Copy minifier binary from the minifier stage COPY --from=minifier /minify /usr/local/bin/minify -# Set to the version for this archive (must match the branch name) -ENV VER=X.Y -ENV CI_COMMIT_REF_NAME=X.Y - -# Replace the versions to match the stable branches of the upstream projects -ENV BRANCH_EE=X-Y-stable-ee -ENV BRANCH_OMNIBUS=X-Y-stable -ENV BRANCH_RUNNER=X-Y-stable -ENV BRANCH_CHARTS=W-Z-stable +# Set versions as build args to fetch corresponding branches +ARG VER + +ENV CI_COMMIT_REF_NAME=$VER # Set NANOC_ENV to production ENV NANOC_ENV=production |