Skip to content

[Feature] 为预构建的镜像增加更多的架构支持 #139

@pooneyy

Description

@pooneyy

FROM nginx:1.26

我阅读了本项目使用的 Dockerfile ,最终镜像的基础镜像是 nginx:1.26,该镜像支持下述八个架构:linux/386 linux/amd64 linux/arm/v5 linux/arm/v7 linux/arm64/v8 linux/mips64le linux/ppc64le linux/s390x

我们可以把构建静态文件的环节放在 Github Action 工作流中

- name: Download web build artifact
uses: actions/download-artifact@v4
with:
name: web-build

从工件获取构建产物,构建镜像时直接从工作流拷贝文件。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions