Skip to content

Switch to distroless golang image #1291

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elezar
Copy link
Member

@elezar elezar commented Jun 19, 2025

This also removes the cleanup scripts.

@@ -90,7 +87,6 @@ $(IMAGE_TARGETS): image-%:
.PHONY: build
build: $(DEFAULT_PUSH_TARGET)
$(DEFAULT_PUSH_TARGET): build-$(DEFAULT_PUSH_TARGET)
$(DEFAULT_PUSH_TARGET): DIST = $(DEFAULT_PUSH_TARGET)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed the following image was pushed via the GitHub Actions: ghcr.io/nvidia/k8s-device-plugin:0ea49e43-. The culprit is likely the IMAGE_TAG variable defined on line 32:

IMAGE_TAG ?= $(IMAGE_VERSION)-$(DIST)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I was rushing this a bit.

@elezar elezar force-pushed the switch-to-distroless branch from 0ea49e4 to c771bee Compare June 24, 2025 09:32
This also removes the cleanup scripts.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the switch-to-distroless branch from c771bee to cafbdd6 Compare June 24, 2025 14:33
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