Skip to content

Conversation

KronsyC
Copy link

@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
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

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.

Bug: Workspace name isnt properly validated for custom images
1 participant