File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed
Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Build Image and Push to Quay
2+
3+ on : push
4+
5+ jobs :
6+ ci :
7+ name : Build Image and Push to Quay
8+ uses : uc-cdis/.github/.github/workflows/image_build_push.yaml@master
9+ with :
10+ OVERRIDE_REPO_NAME : " ohif-viewer"
11+ BUILD_PLATFORMS : " linux/amd64"
12+ secrets :
13+ ECR_AWS_ACCESS_KEY_ID : ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
14+ ECR_AWS_SECRET_ACCESS_KEY : ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
15+ QUAY_USERNAME : ${{ secrets.QUAY_USERNAME }}
16+ QUAY_ROBOT_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : git@github.com:Yelp/detect-secrets
3+ rev : v0.13.1
4+ hooks :
5+ - id : detect-secrets
6+ args : ['--baseline', '.secrets.baseline']
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ RUN bun install
7070# After install it should hopefully be stable until the local directory changes
7171ENV QUICK_BUILD true
7272# ENV GENERATE_SOURCEMAP=false
73- ARG APP_CONFIG=config/default .js
74- ARG PUBLIC_URL=/
73+ ARG APP_CONFIG=/etc/ohif/app-config .js
74+ ARG PUBLIC_URL=/ohif-viewer/
7575
7676RUN bun run show:config
7777RUN bun run build
@@ -84,9 +84,9 @@ RUN ./.docker/compressDist.sh
8484# which runs Nginx using Alpine Linux
8585FROM nginxinc/nginx-unprivileged:1.27-alpine as final
8686# RUN apk add --no-cache bash
87- ARG PORT=80
87+ ARG PORT=8080
8888ENV PORT=${PORT}
89- ARG PUBLIC_URL=/
89+ ARG PUBLIC_URL=/ohif-viewer/
9090ENV PUBLIC_URL=${PUBLIC_URL}
9191RUN rm /etc/nginx/conf.d/default.conf
9292USER nginx
You can’t perform that action at this time.
0 commit comments