ci: pull base image from self-hosted registry (avoid docker hub)
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
be8accd9e7
commit
20e20daafc
2 files changed
+1
-6
No files matched your search
@@ -23,11 +23,6 @@ steps:
|
||||
tags: latest
|
||||
dockerfile: ./Dockerfile
|
||||
platforms: linux/amd64
|
||||
mirror: https://docker.1ms.run
|
||||
# 给 buildkit 构建容器配 docker.io 加速(用本机已验证可用的 mirror)
|
||||
buildkit_config: |
|
||||
[registry."docker.io"]
|
||||
mirrors = ["docker.1ms.run", "docker.1panel.live"]
|
||||
# 注册表层缓存: requirements 未变时直接命中, 重建很快
|
||||
cache_images:
|
||||
- registry.woni.link/woni/office-xbot-feishu:cache
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM python:3.10-slim
|
||||
FROM registry.woni.link/library/python:3.10-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
Reference in new issue
Block a user