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 4
4
- cron : " 0 1 * * *" # Every day at 1:00 AM
5
5
workflow_dispatch : # Run the action manually
6
6
pull_request : # TODO: delete this before merging
7
+ permissions :
8
+ contents : read
9
+ issues : write
7
10
jobs :
8
11
build_images :
9
- name : Build and publish docker image to staging registry
12
+ name : Build and publish docker image
10
13
runs-on : ubuntu-latest
11
14
env :
12
15
IMAGE_REPOSITORY : docker.io/mongodb/apix_test
13
- TAG_PREFIX : mongodb-mcp-server
16
+ TAG_PREFIX : mongodb-mcp-server-
14
17
steps :
15
18
- uses : GitHubSecurityLab/actions-permissions/monitor@v1
16
19
with :
47
50
# labels: failed-release
48
51
# title: Release Failure for Docker Image ${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
49
52
# 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
2
2
WORKDIR /app
3
3
COPY package.json package-lock.json tsconfig.build.json ./
4
4
RUN npm install --ignore-scripts
5
5
COPY src src
6
6
RUN npm run build
7
7
8
- FROM node:22
8
+ FROM node:22-alpine
9
9
WORKDIR /app
10
10
COPY --from=build /app/package.json /app/package.json
11
11
COPY --from=build /app/package-lock.json /app/package-lock.json
You can’t perform that action at this time.
0 commit comments