1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-06 07:40:50 +08:00

2 Commits

Author SHA1 Message Date
206cf373a3 fix(ci): move platforms to docker build and push step 2026-03-06 00:09:25 +08:00
9677ac1367 feat(ci): disable build cache 2026-03-05 23:30:50 +08:00
2 changed files with 3 additions and 5 deletions

View File

@@ -29,8 +29,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Login to Docker Hub
uses: docker/login-action@v4
@@ -63,5 +61,5 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
no-cache: true
platforms: linux/amd64,linux/arm64

View File

@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y git \
WORKDIR /app
# 拉取项目代码
RUN git clone https://github.com/sendevia/website .
RUN git clone https://github.com/sendevia/website . --depth=1
# 安装依赖并构建
RUN npm i && npm run docs:build