Skip to content

Commit c59e4df

Browse files
irparentclaude
andcommitted
Fix CI/CD: Node 22, Docker build context, action versions
- Use Node 22 for CI/CD jobs (Node 20 deprecated June 2026) - Fix Docker build context path and explicit Dockerfile path - Update docker/build-push-action to v6 - Update softprops/action-gh-release to v2 - Simplify Docker image tags Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5e147a2 commit c59e4df

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version: 22
2020
cache: npm
2121
cache-dependency-path: iris/package-lock.json
2222
- run: npm ci
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v4
5252
- uses: actions/setup-node@v4
5353
with:
54-
node-version: 20
54+
node-version: 22
5555
cache: npm
5656
cache-dependency-path: iris/package-lock.json
5757
- run: npm ci
@@ -67,7 +67,7 @@ jobs:
6767
- uses: actions/checkout@v4
6868
- uses: actions/setup-node@v4
6969
with:
70-
node-version: 20
70+
node-version: 22
7171
cache: npm
7272
cache-dependency-path: iris/package-lock.json
7373
- run: npm ci

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 20
23+
node-version: 22
2424
cache: npm
2525
cache-dependency-path: iris/package-lock.json
2626
- run: npm ci
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 20
41+
node-version: 22
4242
registry-url: https://registry.npmjs.org
4343
cache: npm
4444
cache-dependency-path: iris/package-lock.json
@@ -61,20 +61,21 @@ jobs:
6161
registry: ghcr.io
6262
username: ${{ github.actor }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
64-
- uses: docker/build-push-action@v5
64+
- uses: docker/build-push-action@v6
6565
with:
66-
context: iris
66+
context: ./iris
67+
file: ./iris/Dockerfile
6768
platforms: linux/amd64,linux/arm64
6869
push: true
6970
tags: |
70-
ghcr.io/${{ github.repository }}/iris-mcp:${{ github.ref_name }}
71-
ghcr.io/${{ github.repository }}/iris-mcp:latest
71+
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
72+
ghcr.io/${{ github.repository }}:latest
7273
7374
github-release:
7475
needs: [publish-npm, publish-docker]
7576
runs-on: ubuntu-latest
7677
steps:
7778
- uses: actions/checkout@v4
78-
- uses: softprops/action-gh-release@v1
79+
- uses: softprops/action-gh-release@v2
7980
with:
8081
generate_release_notes: true

0 commit comments

Comments
 (0)