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

image buildのworkflowを1ファイルにまとめる #713

Merged
merged 3 commits into from
Jul 26, 2024
Merged

Conversation

ras0q
Copy link
Member

@ras0q ras0q commented Jul 26, 2024

No description provided.

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.34%. Comparing base (a31bc07) to head (31a7d7b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
- Coverage   74.51%   74.34%   -0.17%     
==========================================
  Files          52       52              
  Lines        4163     4163              
==========================================
- Hits         3102     3095       -7     
- Misses        909      921      +12     
+ Partials      152      147       -5     
Flag Coverage Δ
integration 74.34% <ø> (-0.17%) ⬇️
unit 74.34% <ø> (-0.17%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 26 to 30
- name: Generate Image Tags
uses: docker/metadata-action
id: meta
with:
images: ghcr.io/traptitech/${{ env.IMAGE_NAME }}
Copy link
Member Author

Choose a reason for hiding this comment

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

CIのrefとeventからmetadataを作成してくれる
https://github.com/docker/metadata-action

push:
branches:
- main
tags:
- v*
pull_request:
Copy link
Member Author

Choose a reason for hiding this comment

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

総実行時間は増えるかもしれないが一旦PR時もビルドしてみることにした
image pushはしない

@ras0q ras0q self-assigned this Jul 26, 2024
@ras0q ras0q requested a review from H1rono July 26, 2024 09:28
Copy link
Member

@H1rono H1rono left a comment

Choose a reason for hiding this comment

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

LGTM

@ras0q ras0q merged commit a08568a into main Jul 26, 2024
13 checks passed
@ras0q ras0q deleted the config/build-image branch July 26, 2024 09:58
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