mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
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
|
FROM node:20-alpine
|
||||||
|
|
||||||
ENV CI_COMMIT_SHA
|
ARG CI_COMMIT_SHA
|
||||||
ENV CI_COMMIT_BRANCH
|
ARG CI_COMMIT_BRANCH
|
||||||
|
|
||||||
|
ENV COMMIT_SHA=$CI_COMMIT_SHA
|
||||||
|
ENV COMMIT_BRANCH=$CI_COMMIT_BRANCH
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/package.json /app/package.json
|
COPY --from=builder /app/package.json /app/package.json
|
||||||
|
|
Loading…
Reference in a new issue