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

build: fix the invalid tag when calling docker:publishLocal #400

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

FabioPinheiro
Copy link
Contributor

There was an regression when calling docker:publishLocal one stable versions or dirty commit

In docker "The tag must be valid ASCII and can contain lowercase and uppercase letters, digits, underscores, periods, and hyphens"
I see a + in the default generated version (1.0.0+6-1bdc62a6+20241225-0337-SNAPSHOT)
The default generated version is preferable instead of the one that we introduced before (with over complicated logic). It was removed because it was causing caching problems another places.
The solution was to replace all + for _ in SBT's docker:publishLocal command.

This problem was report on Discord by kid0410 https://discord.com/channels/1146426895114702858/1156506829287850025/1321321978862506029

@FabioPinheiro FabioPinheiro requested a review from a team as a code owner January 2, 2025 10:29
@FabioPinheiro FabioPinheiro force-pushed the fix/docker_publishLocal_invalid_tag branch from ed8a849 to dbeb293 Compare January 2, 2025 10:30
Copy link

github-actions bot commented Jan 2, 2025

Integration Test Results

 5 files  ±0   5 suites  ±0   11s ⏱️ ±0s
17 tests ±0  17 ✅ ±0  0 💤 ±0  0 ❌ ±0 
20 runs  ±0  20 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit dbeb293. ± Comparison against base commit 1bdc62a.

@FabioPinheiro FabioPinheiro merged commit 189ded7 into main Jan 2, 2025
6 checks passed
@FabioPinheiro FabioPinheiro deleted the fix/docker_publishLocal_invalid_tag branch January 2, 2025 12:53
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