forked from Mirrors/keyoxide-web
fix: handling of arg and env
This commit is contained in:
parent
759f7bd79e
commit
6950170cc9
1 changed files with 5 additions and 2 deletions
|
@ -11,8 +11,11 @@ RUN yarn run build:static
|
|||
|
||||
FROM node:20-alpine
|
||||
|
||||
ENV CI_COMMIT_SHA
|
||||
ENV CI_COMMIT_BRANCH
|
||||
ARG CI_COMMIT_SHA
|
||||
ARG CI_COMMIT_BRANCH
|
||||
|
||||
ENV COMMIT_SHA=$CI_COMMIT_SHA
|
||||
ENV COMMIT_BRANCH=$CI_COMMIT_BRANCH
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/package.json /app/package.json
|
||||
|
|
Loading…
Reference in a new issue