CI: Docker build/push actions incompatible with Forgejo runner #4
Labels
No labels
blocked:needs-decision
blocked:no-changes
bug
feature-request
quickfix
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/GSD2_PM#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI: Docker build/push actions incompatible with Forgejo runner
Symptom
The
ci.ymlworkflow usesdocker/setup-buildx-action@v3,docker/build-push-action@v5, anddocker/metadata-action@v5which have compatibility issues with Forgejo's act_runner. The build step fails because Docker-in-Docker is not properly set up.Context
docker_host: "tcp://127.0.0.1:12345"(proxy)Suggested fix
Replace GitHub Docker actions with native
docker build/docker pushCLI commands in the workflow. For example:This repo already uses
https://git.forgejo.org/actions/checkout@v4(Forgejo-native) for checkout, which is good practice.Fixed in commit. Closing.