Skip to content
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

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

rajrohanyadav
Copy link
Contributor

@rajrohanyadav rajrohanyadav commented Nov 19, 2024

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

image

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)"
Copy link
Member

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

Copy link
Contributor Author

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.

Makefile Outdated Show resolved Hide resolved
Copy link
Contributor

@alvarocabanas alvarocabanas left a comment

Choose a reason for hiding this comment

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

LGTM, nice work

@rajrohanyadav rajrohanyadav merged commit 018b41d into master Nov 21, 2024
16 checks passed
@rajrohanyadav rajrohanyadav deleted the use-centralized-docker-img branch November 21, 2024 11:08
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.

3 participants