Fix: Ensure dotnet8-env image is pushed to ghcr.io registry #430
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
docker buildtodocker buildx buildwith$(DOCKER_FLAGS)variableProblem
After PR #427 was merged, only
dotnet8-builderwas visible in the ghcr.io packages, butdotnet8-envwas missing.Investigation revealed that the dotnet8-env make target was using plain
docker buildcommand which only builds locally and doesn't push to the registry, even whenDOCKER_FLAGS=--pushis set in the CI environment.Solution
Updated the dotnet8-env-img target in
dotnet8/Makefileto usedocker buildx buildwith the$(DOCKER_FLAGS)variable, matching the pattern used inrules.mkand ensuring the--pushflag is properly applied during the release workflow.Test Plan