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

justfile: Truncate container tag string if too long #65

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Nov 9, 2024

It seems (from CI failures and local tests) that container's tags can't be longer than 128 characters. Sometimes CI generates tag that are longer than this (thanks Dependabot for the extra-long branch names).

Make sure we don't break docker builds by having bash truncate the string if necessary.

Fixes: #21

Copy link
Collaborator

@daniel-noland daniel-noland left a comment

Choose a reason for hiding this comment

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

yup lol

It seems (from CI failures and local tests) that container's tags can't
be longer than 128 characters. Sometimes CI generates tag that are
longer than this (thanks Dependabot for the extra-long branch names).

Make sure we don't break docker builds by having bash truncate the
string if necessary.

Fixes: b88ec42 ("Build system")
Signed-off-by: Quentin Monnet <qmo@qmon.net>
@daniel-noland daniel-noland force-pushed the pr/qmonnet/branch-truncate branch from edc9f82 to 2cf87d0 Compare November 9, 2024 00:29
@daniel-noland daniel-noland merged commit 0874727 into main Nov 9, 2024
10 checks passed
@daniel-noland daniel-noland deleted the pr/qmonnet/branch-truncate branch November 9, 2024 00:43
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