Skip to content

Commit 632c3db

Browse files
committed
Move tag for Docker MCP Gateway
1 parent 72ec129 commit 632c3db

File tree

3 files changed

+46
-16
lines changed

3 files changed

+46
-16
lines changed

.github/workflows/docker-image-early-release.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
github.event_name == 'workflow_dispatch'
2020
runs-on: ubuntu-latest
2121
permissions:
22-
id-token: write # Required for OIDC authentication
22+
id-token: write # Required for OIDC authentication
2323
contents: write # Required to create a new tag
2424
steps:
2525

@@ -72,7 +72,22 @@ jobs:
7272
echo "The Early Access Release Docker Image build will pick it up from the target directory"
7373
7474
75-
# CREATE GITHUB RELEASE AND ADD ASSETS
75+
# CREATE GITHUB RELEASE
76+
- id: create-release
77+
name: Create GitHub early access release
78+
uses: softprops/action-gh-release@v2
79+
with:
80+
target_commitish: ${{ github.sha }}
81+
tag_name: early-access-release
82+
token: ${{ secrets.GITHUB_TOKEN }}
83+
name: early-access-release
84+
draft: false
85+
prerelease: true
86+
body: |
87+
SchemaCrawler AI early access release at last commit ${{ github.sha }}
88+
generate_release_notes: true
89+
90+
# MOVE GITHUB TAG
7691
- id: install-gitsign
7792
name: Install gitsign for commit signing
7893
# See https://github.com/chainguard-dev/actions/blob/main/setup-gitsign/action.yml
@@ -96,19 +111,6 @@ jobs:
96111
git tag -a early-access-release -m "SchemaCrawler AI Early Access Release"
97112
git push --follow-tags origin early-access-release
98113
git show early-access-release
99-
- id: create-release
100-
name: Create GitHub early access release
101-
uses: softprops/action-gh-release@v2
102-
with:
103-
target_commitish: ${{ github.sha }}
104-
tag_name: early-access-release
105-
token: ${{ secrets.GITHUB_TOKEN }}
106-
name: early-access-release
107-
draft: false
108-
prerelease: true
109-
body: |
110-
SchemaCrawler AI early access release at last commit ${{ github.sha }}
111-
generate_release_notes: true
112114
113115
# BUILD AND PUBLISH DOCKER IMAGE
114116
- id: setup-qemu

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
build:
1515
name: Create Release
1616
runs-on: ubuntu-latest
17+
permissions:
18+
id-token: write # Required for OIDC authentication
19+
contents: write # Required to create a new tag
1720
steps:
1821

1922
# VALIDATE TAGS
@@ -60,3 +63,28 @@ jobs:
6063
body: |
6164
SchemaCrawler AI ${{ github.event.release.tag_name }} release at last commit ${{ github.sha }}
6265
generate_release_notes: true
66+
67+
# MOVE GITHUB TAG
68+
- id: install-gitsign
69+
name: Install gitsign for commit signing
70+
# See https://github.com/chainguard-dev/actions/blob/main/setup-gitsign/action.yml
71+
uses: chainguard-dev/actions/setup-gitsign@3e8a2a226fad9e1ecbf2d359b8a7697554a4ac6d
72+
- id: move-tag
73+
name: Move docker-mcp-registry tag
74+
env:
75+
GITSIGN_CONNECTOR_ID: "https://github.com/login/oauth"
76+
GITSIGN_TOKEN_PROVIDER: "github-actions"
77+
shell: bash
78+
run: |
79+
# Move docker-mcp-registry tag
80+
# Set up user
81+
git config user.name "Sualeh Fatehi"
82+
git config user.email "sualeh@hotmail.com"
83+
# Confirm gitsign is installed
84+
gitsign --version
85+
# Move tag
86+
git tag -d docker-mcp-registry || true
87+
git push --delete origin docker-mcp-registry || true
88+
git tag -a docker-mcp-registry -m "SchemaCrawler AI Early Access Release"
89+
git push --follow-tags origin docker-mcp-registry
90+
git show docker-mcp-registry

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ARG FROM_IMAGE=schemacrawler/schemacrawler:v17.1.6
1111

1212
# BUILDER stage - Build SchemaCrawler AI
13-
FROM maven:3.9-eclipse-temurin-25 AS builder
13+
FROM maven:3.9-eclipse-temurin-21 AS builder
1414

1515
# Copy source code
1616
COPY . .

0 commit comments

Comments
 (0)