-
Notifications
You must be signed in to change notification settings - Fork 9
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
use centralized builder image #264
Conversation
Makefile
Outdated
GO_VERSION ?= $(shell grep '^go ' go.mod | awk '{print $$2}') | ||
UBUNTU_VERSION ?= "16.04" | ||
BUILDER_IMAGE_TAG ?= "latest" | ||
BUILDER_IMAGE ?= "ghcr.io/newrelic/coreint-automation:latest-go$(GO_VERSION)-ubuntu$(UBUNTU_VERSION)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I think I misunderstood how we were using it, so we leverage pre-compiled images, we do not trigger the creation each time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we only trigger when we want a new image built for a new version, OR if some changes are pushed to main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work
Use the centralized docker image for building.
How is it tested?
Created a pre-release and the action trigged successfully to build and push the artifacts to s3 in the correct location.
https://github.com/newrelic/nri-docker/actions/runs/11907011686