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: update github actions to latest stable #141

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

crazy-max
Copy link
Collaborator

Also adds dependabot to keep gha up to date

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@tonistiigi
Copy link
Owner

Why draft?

@crazy-max
Copy link
Collaborator Author

crazy-max commented Jan 11, 2024

Why draft?

Provenance is now generated by default with bake action v4: https://github.com/tonistiigi/xx/actions/runs/7473571579/job/20337993559#step:6:15

Needs to handle this correctly first (align filename or just disable it).

@crazy-max crazy-max force-pushed the update-gha branch 2 times, most recently from ae5fe7e to 2bea628 Compare January 11, 2024 10:59
@crazy-max

This comment was marked as outdated.

@crazy-max crazy-max requested a review from tonistiigi January 11, 2024 11:01
@crazy-max crazy-max marked this pull request as ready for review January 11, 2024 11:01
@crazy-max
Copy link
Collaborator Author

cd "$pdir"
binname=$(find . -name '*.tar.gz')
filename=$(basename "${binname%.tar.gz}")
mv "provenance.json" "${filename}.provenance.json"
Copy link
Owner

Choose a reason for hiding this comment

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

Can't we set the provenance filename with build request instead of renaming later?

Copy link
Collaborator Author

@crazy-max crazy-max Feb 5, 2024

Choose a reason for hiding this comment

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

It works with 5433bff but filenames are not aligned so needs to rename them anyway 😣: https://github.com/tonistiigi/xx/actions/runs/7783168263/job/21221059915?pr=141#step:7:7

image

I revert this change, I think my initial attempt looks better: #141 (comment)

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the update-gha branch 2 times, most recently from 5433bff to f5dc0bd Compare February 5, 2024 14:49
@tonistiigi tonistiigi merged commit 5f1174c into tonistiigi:master Feb 5, 2024
57 of 58 checks passed
@crazy-max crazy-max deleted the update-gha branch February 5, 2024 18:44
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