feat: Add args for project id
All checks were successful
Publish Docker / build (push) Successful in 9m42s

This commit is contained in:
Nathan Woodburn 2025-02-14 14:19:30 +11:00
parent 52390de4c5
commit ac35982153
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 3 additions and 1 deletions

View File

@ -30,3 +30,4 @@ jobs:
tag_names: true
tag_semver: true
snapshot: true
buildargs: PROJECT_ID=${{ secrets.PROJECT_ID }}

View File

@ -14,7 +14,8 @@ COPY --from=dep_planner /siwe-oidc/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
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 ./js/ui /siwe-oidc/js/ui
WORKDIR /siwe-oidc/js/ui