147 - Pin the CI image to a version tag instead of latest
Some checks failed
CI / ci (pull_request) Failing after 54s

This commit is contained in:
myrmidex 2026-08-15 01:31:14 +02:00
parent b571e1938b
commit 038b60f97f
3 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@ jobs:
ci: ci:
runs-on: docker runs-on: docker
container: container:
image: forge.lvl0.xyz/lvl0/fedi-feed-router-ci:latest image: forge.lvl0.xyz/lvl0/fedi-feed-router-ci:php8.3-1
steps: steps:
- uses: https://data.forgejo.org/actions/checkout@v4 - uses: https://data.forgejo.org/actions/checkout@v4

View file

@ -18,8 +18,10 @@ jobs:
include: include:
- name: fedi-feed-router-base - name: fedi-feed-router-base
file: docker/build/Dockerfile.base file: docker/build/Dockerfile.base
version: php8.3-1
- name: fedi-feed-router-ci - name: fedi-feed-router-ci
file: docker/build/Dockerfile.ci file: docker/build/Dockerfile.ci
version: php8.3-1
steps: steps:
- uses: https://data.forgejo.org/actions/checkout@v4 - uses: https://data.forgejo.org/actions/checkout@v4
@ -40,5 +42,6 @@ jobs:
file: ${{ matrix.file }} file: ${{ matrix.file }}
push: true push: true
tags: | tags: |
forge.lvl0.xyz/lvl0/${{ matrix.name }}:${{ matrix.version }}
forge.lvl0.xyz/lvl0/${{ matrix.name }}:latest forge.lvl0.xyz/lvl0/${{ matrix.name }}:latest
forge.lvl0.xyz/lvl0/${{ matrix.name }}:${{ github.sha }} forge.lvl0.xyz/lvl0/${{ matrix.name }}:${{ github.sha }}

View file

@ -2,6 +2,10 @@
# Tests run against sqlite in memory (see .env.testing), so no database client # Tests run against sqlite in memory (see .env.testing), so no database client
# or cache extension is needed. # or cache extension is needed.
# #
# Published as fedi-feed-router-ci:php<version>-<revision>, not :latest. Runners
# cache mutable tags and will not re-pull them, so bump the revision in the tag
# and in ci.yml whenever this file changes.
#
# php:alpine already bundles the rest of what composer.lock requires. gd is not # php:alpine already bundles the rest of what composer.lock requires. gd is not
# declared anywhere but ThumbnailUploader calls it directly. # declared anywhere but ThumbnailUploader calls it directly.
FROM php:8.3-alpine FROM php:8.3-alpine