Skip to content

Update digest of latest image #902

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

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

Update digest of latest image #902

wants to merge 1 commit into from

Conversation

matheuscscp
Copy link
Member

@matheuscscp matheuscscp commented May 10, 2025

Comment on lines +30 to +34
# If the version has hyphens, it's assumed to be a non-released version
# and the part after the last hyphen is assumed to be a commit hash,
# which is used to fetch the CRD from the repository in this case.
# Otherwise the whole version is used.
REFLECTOR_VER ?= $(shell go list -m github.com/fluxcd/image-reflector-controller/api | awk '{ n = split($$2, a, "-"); print a[n] }')
Copy link
Member Author

Choose a reason for hiding this comment

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

This change is here only to allow this PR to be tested in CI while the new IRC api package is not tagged

# and the part after the last hyphen is assumed to be a commit hash,
# which is used to fetch the CRD from the repository in this case.
# Otherwise the whole version is used.
REFLECTOR_VER=$(go list -m github.com/fluxcd/image-reflector-controller/api | awk '{ n = split($2, a, "-"); print a[n] }')
Copy link
Member Author

Choose a reason for hiding this comment

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

Same here

Signed-off-by: Matheus Pimenta <[email protected]>
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.

Support sha256 digest pinning
2 participants