Skip to content

Commit

Permalink
ci: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rookie-luochao committed Dec 22, 2023
1 parent 88cb387 commit 3c77dc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64,windows/amd64
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository_owner }}/openapi-ui:${{ steps.vars.outputs.version }}
ghcr.io/${{ github.repository_owner }}/openapi-ui:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-buster AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64,linux/arm64} node:20-buster AS builder

ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
Expand All @@ -14,6 +14,6 @@ RUN --mount=type=cache,target=/src/node_modules,id=myapp_pnpm_module,sharing=loc
RUN --mount=type=cache,target=/src/node_modules,id=myapp_pnpm_module,sharing=locked \
pnpm run build

FROM ghcr.io/zboyco/webrunner:0.0.8
FROM --platform=${BUILDPLATFORM:-linux/amd64,linux/arm64} ghcr.io/zboyco/webrunner:0.0.8

COPY --from=builder /src/dist /app

0 comments on commit 3c77dc0

Please sign in to comment.