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

Add regexManager for Dockerfile and Earthfile #1

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

Kesin11
Copy link
Owner

@Kesin11 Kesin11 commented Aug 11, 2023

Useful config for detecting constant version in Dockerfile and Earthfile that use for download binary from github-releases like this.

# renovate: datasource=github-releases depName=open-telemetry/opentelemetry-collector-releases
ARG OTELCOL_CONTRIB_VERSION=0.70.0 # <= Renovate can detect and replace this version.

RUN curl -LO https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v${OTELCOL_CONTRIB_VERSION}/otelcol-contrib_${OTELCOL_CONTRIB_VERSION}_linux_amd64.tar.gz
RUN tar -xvf otelcol-contrib_${OTELCOL_CONTRIB_VERSION}_linux_amd64.tar.gz

reference:

@Kesin11 Kesin11 merged commit 932425e into main Aug 11, 2023
@Kesin11 Kesin11 deleted the dockerfile_regex_manager branch August 11, 2023 13:44
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.

1 participant