File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 44 - cron : " 0 1 * * *" # Every day at 1:00 AM
55 workflow_dispatch : # Run the action manually
66 pull_request : # TODO: delete this before merging
7+ permissions :
8+ contents : read
9+ issues : write
710jobs :
811 build_images :
9- name : Build and publish docker image to staging registry
12+ name : Build and publish docker image
1013 runs-on : ubuntu-latest
1114 env :
1215 IMAGE_REPOSITORY : docker.io/mongodb/apix_test
13- TAG_PREFIX : mongodb-mcp-server
16+ TAG_PREFIX : mongodb-mcp-server-
1417 steps :
1518 - uses : GitHubSecurityLab/actions-permissions/monitor@v1
1619 with :
4750 # labels: failed-release
4851 # title: Release Failure for Docker Image ${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
4952 # body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
53+ # TODO: enable before merging
Original file line number Diff line number Diff line change 1- FROM node:22 AS build
1+ FROM node:22-alpine AS build
22WORKDIR /app
33COPY package.json package-lock.json tsconfig.build.json ./
44RUN npm install --ignore-scripts
55COPY src src
66RUN npm run build
77
8- FROM node:22
8+ FROM node:22-alpine
99WORKDIR /app
1010COPY --from=build /app/package.json /app/package.json
1111COPY --from=build /app/package-lock.json /app/package-lock.json
You can’t perform that action at this time.
0 commit comments