File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1515 - name : Build and push Docker image
1616 run : |
1717 docker login --username blue-core-lod --password ${{ secrets.GITHUB_TOKEN }} ghcr.io
18- docker build . --tag ghcr.io/blue-core-lod/sinopia:latest
18+ docker build --tag ghcr.io/blue-core-lod/sinopia:latest --build-arg KEYCLOAK_URL=${{ vars.KEYCLOAK_URL }} --build-arg SINOPIA_URI=${{ vars.SINOPIA_URI }} .
1919 docker push ghcr.io/blue-core-lod/sinopia:latest
Original file line number Diff line number Diff line change @@ -7,9 +7,12 @@ ARG SINOPIA_URI=http://localhost/sinopia
77ARG SINOPIA_ENV=bluecore
88ARG INDEX_URL
99ARG EXPORT_BUCKET_URL
10+ ARG KEYCLOAK_URL
1011
1112# Set environment variables from the build args
12- ENV INDEX_URL ${INDEX_URL}
13+ ENV INDEX_URL=$INDEX_URL
14+ ENV KEYCLOAK_URL=$KEYCLOAK_URL
15+ ENV SINOPIA_URL=$SINOPIA_URL
1316
1417COPY package.json .
1518COPY package-lock.json .
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class Config {
7070 */
7171 static get searchPath ( ) {
7272 // return "/api/search/sinopia_resources/_search"
73- return "/search"
73+ return "/api/ search"
7474 }
7575
7676 static get templateSearchPath ( ) {
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ module.exports = {
9797 EXPORT_BUCKET_URL : null ,
9898 HONEYBADGER_API_KEY : null ,
9999 HONEYBADGER_REVISION : null ,
100+ KEYCLOAK_URL : null ,
100101 } ) ,
101102 ] ,
102103 devtool : "source-map" ,
You can’t perform that action at this time.
0 commit comments