mirror of
https://github.com/sendevia/website.git
synced 2026-03-06 07:40:50 +08:00
Compare commits
2 Commits
26.3.5(323
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 206cf373a3 | |||
| 9677ac1367 |
6
.github/workflows/docker-build.yml
vendored
6
.github/workflows/docker-build.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user