ci: pin gitea runner image
Build Push and Deploy / docker-image (push) Has been cancelled
Build Push and Deploy / deploy-fallback-log (push) Has been cancelled

Use the full ubuntu runner label so Gitea Actions resolves gitea/runner-images:ubuntu-22.04 instead of falling back to ubuntu:latest during test runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-04-24 15:43:36 +08:00
parent 3afe885cc0
commit c4269f40e3
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ on:
jobs:
docker-image:
runs-on: ubuntu
runs-on: "ubuntu:docker://gitea/runner-images:ubuntu-22.04"
permissions:
contents: read
defaults:
@@ -121,7 +121,7 @@ jobs:
-d "{\"image\":\"${IMAGE_REF}\",\"tag\":\"${IMAGE_TAG}\",\"repo\":\"${REPOSITORY_PATH}\"}"
deploy-fallback-log:
runs-on: ubuntu
runs-on: "ubuntu:docker://gitea/runner-images:ubuntu-22.04"
needs: docker-image
if: failure()
steps: