From 74363d2b9132b7b888ad3207756916ba7f774775 Mon Sep 17 00:00:00 2001 From: Santiago Date: Wed, 21 Oct 2026 15:05:07 -0300 Subject: [PATCH] chore: drop the unused docs image build The docs are served by the centralized docs.txpipe.io site (txpipe/docs), which pulls this repository as a submodule and builds the content itself. Nothing deploys ghcr.io/txpipe/boros-docs, so the docs Dockerfile and the workflow that publishes it on every push to main are dead weight. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/docs.yml | 33 --------------------------------- docs/.dockerignore | 2 -- docs/Dockerfile | 28 ---------------------------- 3 files changed, 63 deletions(-) delete mode 100644 .github/workflows/docs.yml delete mode 100644 docs/.dockerignore delete mode 100644 docs/Dockerfile diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index e55ec05..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Docs - -on: - workflow_dispatch: {} - push: - branches: - - "main" - paths: - - ".github/workflows/docs.yml" - - "docs/*" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v5 - with: - context: docs - file: docs/Dockerfile - platforms: linux/amd64 - push: true - tags: ghcr.io/txpipe/boros-docs:${{ github.sha }} diff --git a/docs/.dockerignore b/docs/.dockerignore deleted file mode 100644 index f74c781..0000000 --- a/docs/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -.next -node_modules diff --git a/docs/Dockerfile b/docs/Dockerfile deleted file mode 100644 index 2809f68..0000000 --- a/docs/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -FROM node:22-alpine AS dependencies-env -RUN npm i -g pnpm -COPY . /app - -FROM dependencies-env AS development-dependencies-env -COPY ./package.json ./pnpm-lock.yaml /app/ -WORKDIR /app -RUN pnpm i --frozen-lockfile - -FROM dependencies-env AS production-dependencies-env -COPY ./package.json ./pnpm-lock.yaml /app/ -WORKDIR /app -RUN pnpm i --prod --frozen-lockfile --ignore-scripts - -FROM dependencies-env AS build-env -COPY ./package.json ./pnpm-lock.yaml /app/ -COPY --from=development-dependencies-env /app/node_modules /app/node_modules -WORKDIR /app -RUN pnpm build - -FROM dependencies-env -COPY ./package.json ./pnpm-lock.yaml /app/ -COPY --from=production-dependencies-env /app/node_modules /app/node_modules -COPY --from=build-env /app/.next /app/.next -COPY --from=build-env /app/public /app/public -WORKDIR /app -EXPOSE 3000 -CMD ["pnpm", "start"] \ No newline at end of file