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"]