Skip to content

创建github actions编译docker镜像推送至ghcr和dockerhub#45

Open
birdxs wants to merge 4 commits intooficcejo:mainfrom
birdxs:main
Open

创建github actions编译docker镜像推送至ghcr和dockerhub#45
birdxs wants to merge 4 commits intooficcejo:mainfrom
birdxs:main

Conversation

@birdxs
Copy link

@birdxs birdxs commented Feb 3, 2026

创建github actions编译docker镜像推送至ghcr和dockerhub
1、新建了dockerfile文件重命名为dockerfile-github
原因是原dockerfile替换镜像源使用的是debian12,但是github actions是基于ubuntu编译,故注释掉了替换镜像源部分代码
为什么不用dockerfile国际源版,这个文件端口用的是8501,编译测试不可用。
2、新建的ghcr-dockerhub-amd64.yml,手动输入版本号开始编译镜像并推送至ghcr和dockerhub。

原dockerfile替换镜像源使用的是debian12,但是github actions是基于ubuntu编译,故注释掉了替换镜像源部分代码
为什么不用dockerfile国际源版,这个文件端口用的是8501,编译测试不可用。
新建的ghcr-dockerhub-amd64.yml,手动输入版本号开始编译镜像并推送至ghcr和dockerhub。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant