diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9240805..f265922 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-case-conflict diff --git a/.woodpecker/.build.yaml b/.woodpecker/.build.yaml index 84a690a..52334e5 100644 --- a/.woodpecker/.build.yaml +++ b/.woodpecker/.build.yaml @@ -3,7 +3,7 @@ steps: when: - event: push branch: main - image: woodpeckerci/plugin-docker-buildx:4.2.0@sha256:e3c7a04b5c1c679655a7f8de77721a39492019b4c372bea0e90ec3dd765e750a + image: woodpeckerci/plugin-docker-buildx:5.0.0@sha256:0a8e69cad4a25d641bdb51daea53ce309692c7bda1193ae04a990bb88486edd8 pull: true settings: platforms: linux/amd64 @@ -21,7 +21,7 @@ steps: - event: push branch: exclude: ['main'] - image: woodpeckerci/plugin-docker-buildx:4.2.0@sha256:e3c7a04b5c1c679655a7f8de77721a39492019b4c372bea0e90ec3dd765e750a + image: woodpeckerci/plugin-docker-buildx:5.0.0@sha256:0a8e69cad4a25d641bdb51daea53ce309692c7bda1193ae04a990bb88486edd8 pull: true settings: platforms: linux/amd64 diff --git a/.woodpecker/.test.yaml b/.woodpecker/.test.yaml index 0aeb43d..8277c32 100644 --- a/.woodpecker/.test.yaml +++ b/.woodpecker/.test.yaml @@ -7,7 +7,7 @@ variables: - &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}' steps: await-image: - image: alpine@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 + image: alpine@sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d environment: IMAGE: *image commands: @@ -16,7 +16,7 @@ steps: - echo 'found.' clone salt: - image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 + image: woodpeckerci/plugin-git@sha256:b6d40eaba0ee4274d11c96cc0e053557e6cb024fa56d26c25419c2b4dd6fbfe8 settings: remote: https://git.verdigado.com/verdigado-Privileged/Salt.git path: salt @@ -36,7 +36,7 @@ steps: - pre-commit run --all-files clone rocketchat2matrix: - image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 + image: woodpeckerci/plugin-git@sha256:b6d40eaba0ee4274d11c96cc0e053557e6cb024fa56d26c25419c2b4dd6fbfe8 settings: remote: https://git.verdigado.com/NB-Public/rocketchat2matrix.git path: rocketchat2matrix diff --git a/Dockerfile b/Dockerfile index 79d909f..f0d5c09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12.4-alpine3.20@sha256:7f15e22f496c65cffbbac5e30e7e98d60f3e3b9cc5ee5d51cf3c55ed604787c8 +FROM python:3.12.4-alpine3.20@sha256:63094abdaf49e046da9f6529ecd6ce4d853d9bfbf00a25c52bbbb68b3223b490 # renovate: datasource=repology depName=alpine_3_20/build-base versioning=loose ENV BUILD_BASE_VERSION="0.5-r3" @@ -11,7 +11,7 @@ ENV GIT_VERSION="2.45.2-r0" # renovate: datasource=repology depName=alpine_3_20/openssh-keygen versioning=loose ENV OPENSSH_KEYGEN_VERSION="9.7_p1-r4" # renovate: datasource=pypi depName=pre-commit versioning=pep440 -ENV PRE_COMMIT_VERSION="3.8.0" +ENV PRE_COMMIT_VERSION="4.0.1" RUN mkdir /data /tmp/pre-commit COPY .pre-commit-config.yaml /tmp/pre-commit