From aca4074368fd9dee27fe0ac8c7f07e4da1dc9c86 Mon Sep 17 00:00:00 2001 From: Yurii Serhiichuk Date: Wed, 15 Oct 2025 20:53:34 +0200 Subject: [PATCH] chore: add dockerhub publishing. update deps --- .github/workflows/publish.yml | 41 ++++++++++++++++++++++++++++++++++- pyproject.toml | 2 +- uv.lock | 2 +- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce99b8d..62f5572 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: uses: pypa/gh-action-pypi-publish@v1.13.0 - docker-publish: + docker-ghcr-publish: name: Upload release to GitHub Container Registry runs-on: ubuntu-latest permissions: @@ -68,3 +68,42 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + docker-hub-publish: + name: Upload release to Docker Hub Container Registry + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + attestations: write + id-token: write + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: xsavikx + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@v5 + with: + images: xsavikx/${{ github.repository }} + + - name: Build and push Docker image + uses: docker/build-push-action@v6 + id: push + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + - name: Generate artifact attestation + uses: actions/attest-build-provenance@v3 + with: + subject-name: index.docker.io/xsavikx/${{ github.repository }} + subject-digest: ${{ steps.push.outputs.digest }} + push-to-registry: true diff --git a/pyproject.toml b/pyproject.toml index b3aa592..c85f0ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "jules-mcp" -version = "0.1.3" +version = "0.1.4" description = "Google Jules MCP server" requires-python = ">=3.13" dependencies = [ diff --git a/uv.lock b/uv.lock index d4e074d..2b01afc 100644 --- a/uv.lock +++ b/uv.lock @@ -521,7 +521,7 @@ wheels = [ [[package]] name = "jules-mcp" -version = "0.1.3" +version = "0.1.4" source = { virtual = "." } dependencies = [ { name = "fastmcp" },