diff --git a/Makefile b/Makefile index c3ce1fe..d5e167d 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,12 @@ GID := $(shell id -g) .PHONY: check-clean-git-history check-conventional-commits-linting check-shell-formatting check-yaml-formatting fix-shell-formatting fix-yaml-formatting check-github-actions-workflows-linting compile unit-test payload +# renovate: depName=ghcr.io/developerc286/clean_git_history +CLEAN_GIT_HISTORY_VERSION=1.0.4@sha256:5783341a3377a723e409e72b9ec0826a75ba944288d030978355de05ef65b186 + check-clean-git-history: - docker build -t check-clean-git-history -f ci/check-clean-git-history.Dockerfile . - docker run --rm -v $(PWD):/workspace -u $(UID):$(GID) check-clean-git-history $(FROM) + 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) check-conventional-commits-linting: docker build -t check-conventional-commits-linting -f ci/check-conventional-commits-linting.Dockerfile . diff --git a/ci/check-clean-git-history.Dockerfile b/ci/check-clean-git-history.Dockerfile deleted file mode 100644 index 3d71b60..0000000 --- a/ci/check-clean-git-history.Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM rust:1.87.0-alpine3.21@sha256:fa7c28576553c431224a85c897c38f3a6443bd831be37061ab3560d9e797dc82 - -# renovate: datasource=github-releases depName=DeveloperC286/clean_git_history -ENV CLEAN_GIT_HISTORY_VERSION="v1.0.4" -RUN wget -O - "https://github.com/DeveloperC286/clean_git_history/releases/download/${CLEAN_GIT_HISTORY_VERSION}/x86_64-unknown-linux-musl.tar.gz" | tar xz --directory "/usr/bin/" - -WORKDIR /workspace - -ENTRYPOINT ["clean_git_history"] -CMD ["origin/HEAD"]