Skip to content

Conversation

@davidchase
Copy link
Contributor

Summary

  • Fixes dotnet8-env image not being published to ghcr.io packages
  • Changes docker build to docker buildx build with $(DOCKER_FLAGS) variable
  • Aligns dotnet8-env build process with standard pattern used by other environments

Problem

After the previous PR was merged, only dotnet8-builder was visible in the ghcr.io packages, but dotnet8-env was missing.

Investigation revealed that the dotnet8-env make target was using plain docker build command which only builds locally and doesn't push to the registry, even when DOCKER_FLAGS=--push is set in the CI environment.

Solution

Updated the dotnet8-env-img target in dotnet8/Makefile to use docker buildx build with the $(DOCKER_FLAGS) variable, matching the pattern used in rules.mk and ensuring the --push flag is properly applied during the release workflow.

Test Plan

  • Verified the Makefile syntax is correct
  • Confirmed this matches the pattern used by dotnet8-builder which successfully publishes
  • After merge, the next release should publish both dotnet8-env and dotnet8-builder to ghcr.io

davidchase and others added 7 commits August 20, 2025 13:04
The dotnet8 builder Dockerfile requires files from both the builder/ subdirectory
and the parent dotnet8/ directory (Fission.DotNet.Common source files). This fix
updates both Makefiles to use the parent dotnet8 directory as the Docker build
context, matching the approach used by dotnet8-env-img.

Changes:
- dotnet8/builder/Makefile: Use parent directory as build context
- dotnet8/Makefile: Use parent directory as build context for builder image

This resolves the GitHub Actions build failure where files were not found.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
The dotnet8-env image was not being pushed to ghcr.io because it used
'docker build' instead of 'docker buildx build' with the DOCKER_FLAGS
variable that contains --push during CI/CD.

This aligns dotnet8-env with the standard build pattern used by other
environments and ensures the image gets published to the registry.
@davidchase davidchase closed this Aug 25, 2025
@davidchase davidchase deleted the fix-dotnet8-env-push branch August 25, 2025 01:32
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.

1 participant