Skip to content

Commit fd0ebb7

Browse files
committed
fix: tag
1 parent c07a174 commit fd0ebb7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/docker.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ on:
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
710
jobs:
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:
@@ -47,3 +50,4 @@ jobs:
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

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM node:22 AS build
1+
FROM node:22-alpine AS build
22
WORKDIR /app
33
COPY package.json package-lock.json tsconfig.build.json ./
44
RUN npm install --ignore-scripts
55
COPY src src
66
RUN npm run build
77

8-
FROM node:22
8+
FROM node:22-alpine
99
WORKDIR /app
1010
COPY --from=build /app/package.json /app/package.json
1111
COPY --from=build /app/package-lock.json /app/package-lock.json

0 commit comments

Comments
 (0)