diff --git a/Makefile b/Makefile index d5e167d..b314408 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,12 @@ check-clean-git-history: docker pull ghcr.io/developerc286/clean_git_history:$(CLEAN_GIT_HISTORY_VERSION) docker run --rm -v $(PWD):/workspace -u $(UID):$(GID) ghcr.io/developerc286/clean_git_history:$(CLEAN_GIT_HISTORY_VERSION) $(FROM) +# renovate: depName=ghcr.io/developerc286/conventional_commits_linter +CONVENTIONAL_COMMITS_LINTER_VERSION=0.15.0@sha256:b631a3cdcbed28c8938a2a6b63e16ecfd0d7ff71c28e878815adf9183e1fb599 + check-conventional-commits-linting: - docker build -t check-conventional-commits-linting -f ci/check-conventional-commits-linting.Dockerfile . - docker run --rm -v $(PWD):/workspace -u $(UID):$(GID) check-conventional-commits-linting $(FROM) + docker pull ghcr.io/developerc286/conventional_commits_linter:$(CONVENTIONAL_COMMITS_LINTER_VERSION) + docker run --rm -v $(PWD):/workspace -u $(UID):$(GID) ghcr.io/developerc286/conventional_commits_linter:$(CONVENTIONAL_COMMITS_LINTER_VERSION) --allow-angular-type-only $(FROM) # renovate: depName=mvdan/shfmt SHFMT_VERSION=v3.11.0-alpine@sha256:394d755b6007056a2e6d7537ccdbdcfca01b9855ba91e99df0166ca039c9d422 diff --git a/ci/check-conventional-commits-linting.Dockerfile b/ci/check-conventional-commits-linting.Dockerfile deleted file mode 100644 index eb587a0..0000000 --- a/ci/check-conventional-commits-linting.Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM rust:1.88.0-alpine3.21@sha256:9c6a4baf58661f99a5441b15e3ad8295dabf35e849c4935e77ad35d9809be1d2 - -# renovate: datasource=github-releases depName=DeveloperC286/conventional_commits_linter -ENV CONVENTIONAL_COMMITS_LINTER_VERSION="v0.14.3" -RUN wget -O - "https://github.com/DeveloperC286/conventional_commits_linter/releases/download/${CONVENTIONAL_COMMITS_LINTER_VERSION}/x86_64-unknown-linux-musl.gz" | gzip -d >/usr/bin/conventional_commits_linter && chmod 755 /usr/bin/conventional_commits_linter - -WORKDIR /workspace - -ENTRYPOINT ["conventional_commits_linter", "--allow-angular-type-only", "--from-reference"] -CMD ["origin/HEAD"]