Skip to content

Conversation

@KronsyC
Copy link
Contributor

@KronsyC KronsyC commented Jun 27, 2025

If a workspace name started with _ or ., the generated docker image name segment would be invalid due to -_ or -. sequences, this code simply extends the postfix pruning code to also prune these prefixes

closes #1691

If a workspace name started with _ or ., the generated docker image name
segment would be invalid due to `-_` or `-.` sequences, this code simply
extends the postfix pruning code to also prune these prefixes
@KronsyC KronsyC requested a review from a team as a code owner June 27, 2025 21:36
@KronsyC
Copy link
Contributor Author

KronsyC commented Jun 27, 2025

This fix appears to be working, but ive just discoverd that on this main branch custom dockerfiles as a whole are totally broken.

Backported this fix to the last stable release and its working

Copy link
Member

@Emilgardis Emilgardis left a comment

Choose a reason for hiding this comment

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

thank you

@Emilgardis Emilgardis added this pull request to the merge queue Dec 15, 2025
@Emilgardis Emilgardis added the no-ci-targets PRs that do not affect or should skip any cross-compilation targets. label Dec 15, 2025
Merged via the queue into cross-rs:main with commit 154b4ea Dec 15, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-ci-targets PRs that do not affect or should skip any cross-compilation targets.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Workspace name isnt properly validated for custom images

2 participants