From 6662afdfcc3bf7cda6bb91bacc7181bc5a7bd3c5 Mon Sep 17 00:00:00 2001 From: Evan Vetere Date: Fri, 11 Sep 2026 12:04:24 -0400 Subject: [PATCH 1/2] fix: stop the manual release from publishing a gateway image The manual release still built this repository's Dockerfile and pushed it to ghcr.io/datum-cloud/iroh-gateway, tagged with the app version. The gateway moved to datum-cloud/iroh-gateway in April (0729523), which also removed the gateway subcommand from datum-connect, so the image this job built could never start a gateway. The edge tracks ghcr.io/datum-cloud/iroh-gateway with a semver image policy. App v0.1.4 outranked the gateway's own v0.1.0, Flux rolled the app-built image out, and every pod exited with "unexpected argument '--port' found". Remove the publish_docker input, the publish-docker job, the Dockerfile and .dockerignore. datum-cloud/iroh-gateway stays the only publisher of that image. Closes #185 Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Mcy6SZHB23ewuDivM6uAUi --- .claude/worktrees/agent-a7ec6782afa8c5dec | 1 + .dockerignore | 9 ------- .github/workflows/manual-release.yml | 32 ----------------------- Dockerfile | 21 --------------- 4 files changed, 1 insertion(+), 62 deletions(-) create mode 160000 .claude/worktrees/agent-a7ec6782afa8c5dec delete mode 100644 .dockerignore delete mode 100644 Dockerfile diff --git a/.claude/worktrees/agent-a7ec6782afa8c5dec b/.claude/worktrees/agent-a7ec6782afa8c5dec new file mode 160000 index 0000000..bb8c709 --- /dev/null +++ b/.claude/worktrees/agent-a7ec6782afa8c5dec @@ -0,0 +1 @@ +Subproject commit bb8c709e10bc8e7b8acc243f15491c16d02c08b5 diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index cf75812..0000000 --- a/.dockerignore +++ /dev/null @@ -1,9 +0,0 @@ -.git -.github -target -ui/node_modules -ui/target -ui/dist -ui/.dioxus -**/*.log -**/*.tmp diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index b75af88..752d33d 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -7,11 +7,6 @@ on: description: "Release tag (stable: v1.2.3 — beta: v1.2.3-beta.1; hyphen after v => GitHub pre-release, in-app beta channel)" required: true type: string - publish_docker: - description: "Publish iroh-gateway image" - required: false - default: true - type: boolean jobs: bundle: @@ -426,30 +421,3 @@ jobs: artifacts/**/ui/dist/*.dmg artifacts/**/ui/dist/*.AppImage artifacts/**/ui/dist/*.exe - - publish-docker: - if: ${{ inputs.publish_docker }} - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push iroh-gateway image - uses: docker/build-push-action@v6 - with: - context: . - file: Dockerfile - push: true - tags: ghcr.io/datum-cloud/iroh-gateway:${{ inputs.version }} diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 102e5bb..0000000 --- a/Dockerfile +++ /dev/null @@ -1,21 +0,0 @@ -FROM rust:1.98-bookworm AS builder - -WORKDIR /app - -COPY . . - -RUN cargo build -p datum-connect --release - -FROM debian:bookworm-slim - -RUN apt-get update \ - && apt-get install -y --no-install-recommends ca-certificates \ - && rm -rf /var/lib/apt/lists/* \ - && useradd -u 65532 -r -s /usr/sbin/nologin datum - -COPY --from=builder /app/target/release/datum-connect /usr/local/bin/datum-connect - -USER 65532:65532 - -ENTRYPOINT ["/usr/local/bin/datum-connect"] -CMD ["gateway"] From 254aef9e10c6f115bc7d76efb6842fdf8f289fab Mon Sep 17 00:00:00 2001 From: Evan Vetere Date: Fri, 11 Sep 2026 12:05:12 -0400 Subject: [PATCH 2/2] chore: drop a worktree committed by mistake Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Mcy6SZHB23ewuDivM6uAUi --- .claude/worktrees/agent-a7ec6782afa8c5dec | 1 - 1 file changed, 1 deletion(-) delete mode 160000 .claude/worktrees/agent-a7ec6782afa8c5dec diff --git a/.claude/worktrees/agent-a7ec6782afa8c5dec b/.claude/worktrees/agent-a7ec6782afa8c5dec deleted file mode 160000 index bb8c709..0000000 --- a/.claude/worktrees/agent-a7ec6782afa8c5dec +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bb8c709e10bc8e7b8acc243f15491c16d02c08b5