We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c9979 commit 31b98edCopy full SHA for 31b98ed
source/_posts/2025/gitlab-python-package-registry.md
@@ -191,25 +191,6 @@ build:
191
- # 其他構建步驟
192
```
193
194
-### 6. Docker 映像支援多架構
195
-
196
-為了支援不同的硬體平台,使用 buildx 構建多架構映像:
197
198
-```yaml
199
-build-multi-arch:
200
- stage: build
201
- script:
202
- # 設定 buildx
203
- - docker buildx create --use
204
205
- # 構建並推送多架構映像
206
- - |
207
- docker buildx build \
208
- --platform linux/amd64,linux/arm64 \
209
- -t $REGISTRY_PATH:$NEW_TAG \
210
- --push .
211
-```
212
213
## 常見問題與解決方案
214
215
### Deploy Token 權限不足?
0 commit comments