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

workflowにBuildjetを追加 #2008

Merged
merged 3 commits into from
Sep 4, 2023
Merged

workflowにBuildjetを追加 #2008

merged 3 commits into from
Sep 4, 2023

Conversation

ryusuketesaki
Copy link
Contributor

Graviton対応に向けて、ARM対応イメージをビルドするBuildjetを追加する。

懸念事項

  1. 実行する時間帯によってbuildjetによるビルドがいつまでも終わらないケースがある。

.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/build.yml Show resolved Hide resolved
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ steps.login-ecr.outputs.registry }}/dreamkast-ecs

Choose a reason for hiding this comment

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

[actionlint] reported by reviewdog 🐶
property "login-ecr" is not defined in object type {} [expression]

Copy link
Member

Choose a reason for hiding this comment

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

id: login-ecr がここより下に存在するため、上記メッセージの通りDocker meta でコケるように見えます

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Docker metaの実行結果より ${{ steps.login-ecr.outputs.registry }}が空欄となっており機能していませんでしたので修正しました。

@ryusuketesaki ryusuketesaki linked an issue Aug 20, 2023 that may be closed by this pull request
@jacopen
Copy link
Collaborator

jacopen commented Aug 20, 2023

通知に関しては、statusページで使われているBetterStackがFeedを提供しているので、これをSlackなりなんなりで通知させることで受け取れそう
https://status.buildjet.com/feed

merge-images内のcheckoutが不要であるため削除
merge-images内のlogin-ecrの実行箇所を変更
fix: image_tag_refを修正
@jacopen jacopen merged commit 66c1a85 into main Sep 4, 2023
5 checks passed
@jacopen jacopen deleted the update-workflow-buildjet branch September 4, 2023 07:23
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.

BuildJetを検証する
3 participants