Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/publish-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
tags: |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
type=ref,event=tag
type=semver,pattern={{version}}

- name: Build and publish image
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/publish-mcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,25 @@ jobs:
- name: Validate server.json
run: ./mcp-publisher validate server.json

- name: Wait for OCI image to become available in registry
run: |
IMAGE=$(jq -r '.packages[0].identifier' server.json)
echo "Checking registry for OCI image $IMAGE..."
FOUND=false
for i in {1..30}; do
if docker manifest inspect "$IMAGE" >/dev/null 2>&1; then
echo "✅ $IMAGE is available in the container registry."
FOUND=true
break
fi
echo "Attempt $i/30: $IMAGE not yet found in registry, waiting 15s..."
sleep 15
done
if [ "$FOUND" != "true" ]; then
echo "❌ Timed out waiting for $IMAGE in registry."
exit 1
fi

- name: Authenticate with MCP Registry via GitHub OIDC
run: ./mcp-publisher login github-oidc

Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.7.3] — 2026-11-10

### Fixed
- **ci**: Add SemVer `type=semver,pattern={{version}}` tagging to Docker Hub publishing workflow (#138)
- **ci**: Coordinate MCP Registry publish workflow to wait for OCI container image availability on Docker Hub (#138)

## [2.7.2] — 2026-11-10

### Added
Expand Down Expand Up @@ -223,7 +229,8 @@ Sprint 1 security & contract correctness release.

---

[Unreleased]: https://github.com/hapheus/torproxy/compare/v2.7.2...HEAD
[Unreleased]: https://github.com/hapheus/torproxy/compare/v2.7.3...HEAD
[2.7.3]: https://github.com/hapheus/torproxy/compare/v2.7.2...v2.7.3
[2.7.2]: https://github.com/hapheus/torproxy/compare/v2.7.1...v2.7.2
[2.7.1]: https://github.com/hapheus/torproxy/compare/v2.7.0...v2.7.1
[2.7.0]: https://github.com/hapheus/torproxy/compare/v2.6.2...v2.7.0
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG PYTHON_VERSION=3.14

LABEL org.opencontainers.image.title="torproxy" \
org.opencontainers.image.description="A minimal HTTP proxy routed through Tor" \
org.opencontainers.image.version="2.7.2" \
org.opencontainers.image.version="2.7.3" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.source="https://github.com/hapheus/torproxy" \
org.opencontainers.image.url="https://github.com/hapheus/torproxy"
Expand Down
4 changes: 4 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ If an upgraded image exhibits unexpected behavior in your environment:

## 6. Release Notes

### 2.7.3 (DockerHub SemVer tagging and MCP Registry publish coordination)

- **DockerHub Tagging & MCP Publish Coordination (#138):** Added `type=semver,pattern={{version}}` to `publish-dockerhub.yml` so Docker Hub receives both `X.Y.Z` and `vX.Y.Z` tags. Added synchronization in `publish-mcp.yml` to wait for the target OCI container image to be verified on Docker Hub before publishing `server.json` to `registry.modelcontextprotocol.io`.

### 2.7.2 (MCP Registry automated publishing workflow)

- **Automated MCP Registry Publish (#134, #135):** Added `.github/workflows/publish-mcp.yml` using GitHub Actions OIDC (`id-token: write`) to automatically publish the verified `server.json` to `registry.modelcontextprotocol.io` upon pushing release tags (`v*`).
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "torproxy"
version = "2.7.2"
version = "2.7.3"
description = "A minimal HTTP and SOCKS5 proxy routed through the Tor network with local REST control API"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"name": "io.github.hapheus/torproxy",
"title": "torproxy",
"description": "Tor HTTP and SOCKS5 proxy with REST API and built-in MCP server.",
"version": "2.7.2",
"version": "2.7.3",
"repository": {
"url": "https://github.com/hapheus/torproxy",
"source": "github"
},
"packages": [
{
"registryType": "oci",
"identifier": "docker.io/hapheus/torproxy:2.7.2",
"identifier": "docker.io/hapheus/torproxy:2.7.3",
"transport": {
"type": "stdio"
},
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading