mirror of
https://github.com/certd/certd.git
synced 2026-07-01 17:07:32 +08:00
docs(ci): add slim docker image support and update all documentations
1. 新增slim镜像版本的文档说明,补充镜像版本选择指南 2. 更新docker-compose示例注释,将arm适配改为slim镜像适配 3. 重构README、镜像说明文档的镜像表格排版 4. 调整CI构建脚本,将alpine构建改为slim构建,修正Dockerfile构建逻辑 5. 统一镜像标签命名,移除-alpine后缀改为-slim
This commit is contained in:
@@ -94,21 +94,21 @@ jobs:
|
||||
greper/certd:${{steps.get_certd_version.outputs.result}}
|
||||
ghcr.io/${{ github.repository }}:latest
|
||||
ghcr.io/${{ github.repository }}:${{steps.get_certd_version.outputs.result}}
|
||||
- name: Build alpine
|
||||
- name: Build slim
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
context: ./packages/ui/
|
||||
build-args: |
|
||||
base_type=alpine
|
||||
base_type=slim
|
||||
tags: |
|
||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:alpine
|
||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}}-alpine
|
||||
greper/certd:alpine
|
||||
greper/certd:${{steps.get_certd_version.outputs.result}}-alpine
|
||||
ghcr.io/${{ github.repository }}:alpine
|
||||
ghcr.io/${{ github.repository }}:${{steps.get_certd_version.outputs.result}}-alpine
|
||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:slim
|
||||
registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}}-slim
|
||||
greper/certd:slim
|
||||
greper/certd:${{steps.get_certd_version.outputs.result}}-slim
|
||||
ghcr.io/${{ github.repository }}:slim
|
||||
ghcr.io/${{ github.repository }}:${{steps.get_certd_version.outputs.result}}-slim
|
||||
|
||||
- name: Build armv7
|
||||
uses: docker/build-push-action@v6
|
||||
|
||||
Reference in New Issue
Block a user