diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index b656717..462a58c 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -90,6 +90,7 @@ jobs: PUBLIC_PATH=verifier NODE_ENV=production BASE_URL=https://ssi.eecc.de + VERIFIER_API=https://ssi.eecc.de/api/verifier push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta_indy_node.outputs.tags }} labels: ${{ steps.meta_indy_node.outputs.labels }} diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1496642..4d454d0 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -10,9 +10,11 @@ FROM develop-stage as build-stage ARG NODE_ENV ARG PUBLIC_PATH ARG BASE_URL +ARG VERIFIER_API ENV NODE_ENV=${NODE_ENV} ENV PUBLIC_PATH=${PUBLIC_PATH} ENV BASE_URL=${BASE_URL} +ENV VERIFIER_API=${VERIFIER_API} RUN npm run build # production stage