mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
ci(test-release): replace MCP server Docker builds with Worker image builds
Update test-release workflow to build and push Worker images (./Worker/Dockerfile) and adjust tags (including enterprise variants) instead of the previous MCP server build steps.
This commit is contained in:
48
.github/workflows/test-release.yaml
vendored
48
.github/workflows/test-release.yaml
vendored
@@ -2071,30 +2071,30 @@ jobs:
|
||||
max_attempts: 3
|
||||
command: |
|
||||
VERSION="${{needs.read-version.outputs.major_minor}}.${{needs.generate-build-number.outputs.build_number}}-test"
|
||||
docker buildx build \
|
||||
--file ./MCP/Dockerfile.tpl \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--push \
|
||||
--tag oneuptime/mcp-server:${VERSION} \
|
||||
--tag oneuptime/mcp-server:test \
|
||||
--tag ghcr.io/oneuptime/mcp-server:${VERSION} \
|
||||
--tag ghcr.io/oneuptime/mcp-server:test \
|
||||
--build-arg GIT_SHA=${{ github.sha }} \
|
||||
--build-arg APP_VERSION=${VERSION} \
|
||||
--build-arg IS_ENTERPRISE_EDITION=false \
|
||||
.
|
||||
docker buildx build \
|
||||
--file ./MCP/Dockerfile.tpl \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--push \
|
||||
--tag oneuptime/mcp-server:enterprise-test \
|
||||
--tag oneuptime/mcp-server:enterprise-${VERSION} \
|
||||
--tag ghcr.io/oneuptime/mcp-server:enterprise-test \
|
||||
--tag ghcr.io/oneuptime/mcp-server:enterprise-${VERSION} \
|
||||
--build-arg GIT_SHA=${{ github.sha }} \
|
||||
--build-arg APP_VERSION=${VERSION} \
|
||||
--build-arg IS_ENTERPRISE_EDITION=true \
|
||||
.
|
||||
docker buildx build \
|
||||
--file ./Worker/Dockerfile \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--push \
|
||||
--tag oneuptime/worker:${VERSION} \
|
||||
--tag oneuptime/worker:test \
|
||||
--tag ghcr.io/oneuptime/worker:${VERSION} \
|
||||
--tag ghcr.io/oneuptime/worker:test \
|
||||
--build-arg GIT_SHA=${{ github.sha }} \
|
||||
--build-arg APP_VERSION=${VERSION} \
|
||||
--build-arg IS_ENTERPRISE_EDITION=false \
|
||||
.
|
||||
docker buildx build \
|
||||
--file ./Worker/Dockerfile \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--push \
|
||||
--tag oneuptime/worker:enterprise-test \
|
||||
--tag oneuptime/worker:enterprise-${VERSION} \
|
||||
--tag ghcr.io/oneuptime/worker:enterprise-test \
|
||||
--tag ghcr.io/oneuptime/worker:enterprise-${VERSION} \
|
||||
--build-arg GIT_SHA=${{ github.sha }} \
|
||||
--build-arg APP_VERSION=${VERSION} \
|
||||
--build-arg IS_ENTERPRISE_EDITION=true \
|
||||
.
|
||||
|
||||
copilot-docker-image-deploy:
|
||||
needs: [read-version, generate-build-number]
|
||||
|
||||
Reference in New Issue
Block a user