diff --git a/.github/workflows/indexer-build-docker-image-check.yml b/.github/workflows/indexer-build-docker-image-check.yml index f90233cb6fd..75fd0c4d36e 100644 --- a/.github/workflows/indexer-build-docker-image-check.yml +++ b/.github/workflows/indexer-build-docker-image-check.yml @@ -77,3 +77,33 @@ jobs: DOCKER_BUILDKIT=1 docker build \ --platform amd64 \ -f Dockerfile.bazooka.remote . + + check-build-auxo: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./indexer + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install pnpm + run: + npm install -g pnpm@6.34.0 + + - name: Build and install + run: | + pnpm install --loglevel warn --frozen-lockfile + pnpm run build:prod:all + + - name: Build docker image for auxo + id: build-image + run: | + DOCKER_BUILDKIT=1 docker build \ + --platform amd64 \ + -f Dockerfile.auxo.remote . diff --git a/indexer/Dockerfile.auxo.remote b/indexer/Dockerfile.auxo.remote index 5b2145a1dd4..0462bb86516 100644 --- a/indexer/Dockerfile.auxo.remote +++ b/indexer/Dockerfile.auxo.remote @@ -11,6 +11,7 @@ COPY ./patches ./patches # Copy auxo and imported packages COPY ./packages/base/ ./packages/base/ +COPY ./packages/dev/ ./packages/dev/ COPY ./packages/v4-protos/ ./packages/v4-protos/ COPY ./services/auxo/ ./services/auxo/ COPY ./packages/v4-proto-parser/ ./packages/v4-proto-parser/