Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add GitHub Actions for Docker buildx #190

Merged
merged 1 commit into from
Aug 3, 2020
Merged

ci: Add GitHub Actions for Docker buildx #190

merged 1 commit into from
Aug 3, 2020

Conversation

NN708
Copy link
Collaborator

@NN708 NN708 commented Jul 29, 2020

尝试使用 GitHub Actions 自动构建多架构的 Docker image。目前的策略是对 master 分支的 push 和 pull request 运行构建进行检查,对版本号 tag 运行构建并推送到 Docker Hub(同时更新 latest)。在推送之前需要在 Settings -> Secrets 中设置 DOCKER_USERNAME 和 DOCKER_PASSWORD 环境变量。

@NN708 NN708 requested a review from NewFuture July 29, 2020 07:00
@NewFuture
Copy link
Owner

问一个问题,不同架构能否用不同dockerfile来指定?

@NN708
Copy link
Collaborator Author

NN708 commented Jul 29, 2020

问一个问题,不同架构能否用不同dockerfile来指定?

我没有见到过这种用法,Docker 一般都是自动匹配架构的吧……请问现有的方案是会导致什么问题吗?

@NewFuture NewFuture merged commit daaa1de into master Aug 3, 2020
@NewFuture NewFuture deleted the develop branch August 3, 2020 04:28
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.

2 participants