feat: Add args for project id
All checks were successful
Publish Docker / build (push) Successful in 9m42s
All checks were successful
Publish Docker / build (push) Successful in 9m42s
This commit is contained in:
parent
52390de4c5
commit
ac35982153
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@ -30,3 +30,4 @@ jobs:
|
|||||||
tag_names: true
|
tag_names: true
|
||||||
tag_semver: true
|
tag_semver: true
|
||||||
snapshot: true
|
snapshot: true
|
||||||
|
buildargs: PROJECT_ID=${{ secrets.PROJECT_ID }}
|
||||||
|
@ -14,7 +14,8 @@ COPY --from=dep_planner /siwe-oidc/recipe.json recipe.json
|
|||||||
RUN cargo chef cook --release --recipe-path recipe.json
|
RUN cargo chef cook --release --recipe-path recipe.json
|
||||||
|
|
||||||
FROM node:16-alpine as node_builder
|
FROM node:16-alpine as node_builder
|
||||||
ENV PROJECT_ID=""
|
ARG PROJECT_ID
|
||||||
|
ENV PROJECT_ID=${PROJECT_ID}
|
||||||
ADD --chown=node:node ./static /siwe-oidc/static
|
ADD --chown=node:node ./static /siwe-oidc/static
|
||||||
ADD --chown=node:node ./js/ui /siwe-oidc/js/ui
|
ADD --chown=node:node ./js/ui /siwe-oidc/js/ui
|
||||||
WORKDIR /siwe-oidc/js/ui
|
WORKDIR /siwe-oidc/js/ui
|
||||||
|
Loading…
Reference in New Issue
Block a user