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

Configure renovate updates for more docker images #3700

Merged
merged 14 commits into from
Jun 29, 2024
Prev Previous commit
Next Next commit
Uniformize other version variable names and newlines
  • Loading branch information
echoix committed Jun 27, 2024
commit d8f712eb12dadb55046ad864e93f93f063ed3280
4 changes: 2 additions & 2 deletions megalinter/descriptors/action.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ linters:
apk:
- py3-pyflakes
dockerfile:
- |
- |-
FROM rhysd/actionlint:latest as actionlint
# shellcheck is a dependency for actionlint
- FROM koalaman/shellcheck:stable as shellcheck
- |
- |-
COPY --link --from=actionlint /usr/local/bin/actionlint /usr/bin/actionlint
# shellcheck is a dependency for actionlint
- COPY --link --from=shellcheck /bin/shellcheck /usr/bin/shellcheck
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ linters:
- "editorconfig-checker myfile.js"
install:
dockerfile:
- |
- |-
# renovate: datasource=docker depName=mstruebing/editorconfig-checker
ARG EDITORCONFIG_CHECKER_VERSION=v3.0.1
- FROM mstruebing/editorconfig-checker:${EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
ARG EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION=v3.0.1
- FROM mstruebing/editorconfig-checker:${EDITORCONFIG_EDITORCONFIG_CHECKER_VERSION} as editorconfig-checker
- COPY --link --from=editorconfig-checker /usr/bin/ec /usr/bin/editorconfig-checker
2 changes: 1 addition & 1 deletion megalinter/descriptors/go.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ linters:
## Until "FROM ghcr.io/mgechev/revive:1.2.5 as revive" is available, use
# - FROM ghcr.io/mgechev/revive:1.2.5 as revive
# - COPY --link --from=revive /usr/bin/revive /usr/bin/revive
- |
- |-
FROM golang:1-alpine as revive
## The golang image used as a builder is a temporary workaround (https://github.com/mgechev/revive/issues/787)
## for the released revive binaries not returning version numbers (devel).
Expand Down
8 changes: 4 additions & 4 deletions megalinter/descriptors/repository.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ linters:
dockerfile:
# The golang image used as a builder is a temporary workaround
# Dustilock is not released as a binary or container
- |
- |-
FROM golang:alpine as dustilock
RUN GOBIN=/usr/bin go install github.com/checkmarx/dustilock@v1.2.0
- COPY --link --from=dustilock /usr/bin/dustilock /usr/bin/dustilock
Expand Down Expand Up @@ -247,10 +247,10 @@ linters:
- "gitleaks detect -c .gitleaks.toml --redact --no-git --verbose --source ."
install:
dockerfile:
- |
- |-
# renovate: datasource=docker depName=zricethezav/gitleaks
ARG GITLEAKS_VERSION=v8.18.4
- FROM zricethezav/gitleaks:${GITLEAKS_VERSION} as gitleaks
ARG REPOSITORY_GITLEAKS_VERSION=v8.18.4
- FROM zricethezav/gitleaks:${REPOSITORY_GITLEAKS_VERSION} as gitleaks
- COPY --link --from=gitleaks /usr/bin/gitleaks /usr/bin/
variables:
- name: REPOSITORY_GITLEAKS_PR_COMMITS_SCAN
Expand Down