From e4bba4e1d71cc0e6be6852ee7bfddf20e04e9ce6 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Fri, 13 Nov 2026 02:46:53 +0400 Subject: [PATCH] Pin exact versions of images and actions Floating tags (17-alpine, 3.4-slim, nginx:alpine, :latest, :debug, @v7) change under a deploy without anyone deciding it: the storage deploy moved Postgres to 17.12 on its own because of postgres:17-alpine. Pin every image and action to its exact current version, so each change arrives as a reviewed Renovate PR and a rollback is a revert. Assisted-by: Claude:opus-5-5 --- .forgejo/workflows/deploy.yaml | 6 +++--- .forgejo/workflows/test.yaml | 2 +- Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e382206..0c45c50 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -24,7 +24,7 @@ jobs: nix-env -iA nixpkgs.nodejs_22 - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@v7.0.1 - name: Build site run: nix develop -c zola build @@ -33,7 +33,7 @@ jobs: runs-on: arch-latest needs: check container: - image: gcr.io/kaniko-project/executor:debug + image: gcr.io/kaniko-project/executor:v1.24.0-debug outputs: image_tag: ${{ steps.build_image.outputs.image_tag }} steps: @@ -69,7 +69,7 @@ jobs: pacman -Syu --noconfirm nodejs openssh rsync - name: Checkout code - uses: actions/checkout@v7 + uses: actions/checkout@v7.0.1 - name: Deploy docker-compose.yml uses: easingthemes/ssh-deploy@v6.0.3 diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 0cac1c9..e86840d 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: nix-env -iA nixpkgs.nodejs_22 - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@v7.0.1 - name: Build site run: nix develop -c zola build diff --git a/Dockerfile b/Dockerfile index c0b1ae1..e5fe837 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ COPY . /project WORKDIR /project RUN ["zola", "build"] -FROM nginx:1.30-alpine +FROM nginx:1.30.6-alpine COPY nginx.conf /etc/nginx/conf.d/default.conf COPY --from=build /project/public /usr/share/nginx/html