Skip to content

Commit

Permalink
fix: Clean builder after container is built
Browse files Browse the repository at this point in the history
  • Loading branch information
Frixxie committed Sep 22, 2024
1 parent 24f3d22 commit 8e81f2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ docker_login:

container: docker_builder docker_login
cd backend && docker buildx build -t ghcr.io/$(GITHUB_USER)/$(PROJECT_NAME):latest . --platform linux/amd64,linux/arm64 --builder builder --push
docker buildx rm builder

container_tagged: docker_builder docker_login
cd backend && docker buildx build -t ghcr.io/$(GITHUB_USER)/$(PROJECT_NAME):$(DOCKERTAG) . --platform linux/amd64,linux/arm64 --builder builder --push
docker buildx rm builder

0 comments on commit 8e81f2d

Please sign in to comment.