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

マルチプラットフォームビルドの対応 #99

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

dodolia907
Copy link
Member

linux/amd64とlinux/arm64用のイメージをそれぞれビルドするようにした。
https://docs.docker.com/build/ci/github-actions/multi-platform/

CI.ymlにコンテナビルドを追加した。Folk先でコンテナビルドに成功するかを検証できるようにした。

platforms: ${{ matrix.platform }}
context: .
file: Dockerfile
push: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

push: false で、ビルドはするけどコンテナレジストリにプッシュしない設定ができるんですね。なるほどです。

Copy link
Collaborator

@exflikt exflikt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同じコードが複数のファイルに散らばってるとメンテコストが掛かっちゃうけど、あったほうが嬉しい変更なのでとりあえずマージします。

@exflikt exflikt merged commit eca2e0d into tut-cc:main Dec 17, 2024
3 checks passed
@dodolia907 dodolia907 deleted the container branch December 18, 2024 02:40
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