diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 82e2764..04f385c 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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 diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 41a766a..4083d56 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -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') }} diff --git a/Dockerfile b/Dockerfile index 3001380..a446c1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \