Pin exact versions of images and actions
All checks were successful
Tests / test (push) Successful in 30s
Build and Deploy to Production / test (push) Successful in 21s
Build and Deploy to Production / build (push) Successful in 59s
Build and Deploy to Production / deploy (push) Successful in 39s

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
This commit is contained in:
Sergei Poljanski 2026-11-13 02:46:53 +04:00
commit a3184628a3
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
3 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ jobs:
sandbox = false
services:
postgres:
image: postgres:17-alpine
image: postgres:17.12-alpine
env:
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
@ -32,10 +32,10 @@ jobs:
nix-env -iA nixpkgs.nodejs_22
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1
- name: Cache gems
uses: actions/cache@v6
uses: actions/cache@v6.1.0
with:
path: .gems
key: gems-${{ hashFiles('Gemfile.lock') }}
@ -58,7 +58,7 @@ jobs:
runs-on: arch-latest
needs: test
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:
@ -94,7 +94,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

View file

@ -26,7 +26,7 @@ jobs:
# container.network must stay "" — with "host" the service network is
# never created and services fail to start).
postgres:
image: postgres:17-alpine
image: postgres:17.12-alpine
env:
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
@ -38,12 +38,12 @@ jobs:
nix-env -iA nixpkgs.nodejs_22
- name: Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.1
# The nix closure persists in the runner's nix-store volume; gems live
# in the workspace (.gems via the flake's BUNDLE_PATH), so cache those.
- name: Cache gems
uses: actions/cache@v6
uses: actions/cache@v6.1.0
with:
path: .gems
key: gems-${{ hashFiles('Gemfile.lock') }}

View file

@ -1,4 +1,4 @@
FROM ruby:3.4-slim-bookworm
FROM ruby:3.4.12-slim-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \