ci: source build-job actions from github.com, not the forge mirror
Some checks failed
Build & Publish / Check (push) Successful in 2m12s
Build & Publish / Build & Publish (push) Failing after 13m37s

The build job aborted during action preparation while cloning the docker/*
actions from code.forgejo.org (the checkout clone already warned "some refs
were not updated"). The check job proved that full github.com `uses:` URLs
clone reliably on this runner (mise-action@v2 worked), so pull checkout and the
docker actions from github.com directly. All are node20, which the runner
supports.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Niels Göttsch 2026-07-16 16:38:16 +02:00
parent e6555bd873
commit 168b674efe

View file

@ -69,13 +69,13 @@ jobs:
needs: [check] needs: [check]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: https://github.com/actions/checkout@v4
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: https://github.com/docker/setup-buildx-action@v3
- name: Login to the forge container registry - name: Login to the forge container registry
uses: docker/login-action@v3 uses: https://github.com/docker/login-action@v3
with: with:
# Forgejo auto-provides GITHUB_TOKEN to the job; it can push packages # Forgejo auto-provides GITHUB_TOKEN to the job; it can push packages
# for this repo's owner (uberbau). No external registry / PAT needed. # for this repo's owner (uberbau). No external registry / PAT needed.
@ -84,7 +84,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container - name: Build and push container
uses: docker/build-push-action@v6 uses: https://github.com/docker/build-push-action@v6
with: with:
context: . context: .
push: true push: true