mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1507] [MERGED] feat: Allow building without docker support #1975
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1975
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1507
Author: @ChristopherHX
Created: 12/12/2022
Status: ✅ Merged
Merged: 1/10/2023
Merged by: @mergify[bot]
Base:
master← Head:allow-building-without-docker-support📝 Commits (3)
82cd621feat: Allow building without docker support5f71575fix macos build tag4be5759Merge branch 'master' into allow-building-without-docker-support📊 Changes
10 files changed (+143 additions, -62 deletions)
View changed files
➕
pkg/container/container_types.go(+70 -0)📝
pkg/container/docker_auth.go(+2 -0)📝
pkg/container/docker_build.go(+2 -8)📝
pkg/container/docker_cli.go(+2 -0)📝
pkg/container/docker_images.go(+2 -0)📝
pkg/container/docker_logger.go(+2 -0)📝
pkg/container/docker_pull.go(+2 -9)📝
pkg/container/docker_run.go(+2 -45)➕
pkg/container/docker_stub.go(+57 -0)📝
pkg/container/docker_volume.go(+2 -0)📄 Description
Needed by github-act-runner to compile for dragonfly, plan9, etc.
I moved the types into container_types.go without changing them.
The docker package is not compatible with dragonfly, while the rest of the code is:
This patch make this to compile successful, while the tests don't work.
GOOS=dragonfly GOARCH=amd64 go build
Updated working Targets with and without this change
Fixes building
GOOS=dragonfly GOARCH=amd64GOOS=illumos GOARCH=amd64( * survey prevents the build of the cli package )GOOS=netbsd GOARCH=amd64GOOS=netbsd GOARCH=386GOOS=netbsd GOARCH=arm64GOOS=netbsd GOARCH=armGOOS=plan9 GOARCH=amd64( * survey prevents the build of the cli package )GOOS=plan9 GOARCH=386( * survey prevents the build of the cli package )GOOS=plan9 GOARCH=arm( * survey prevents the build of the cli package )GOOS=solaris GOARCH=amd64( * survey prevents the build of the cli package )Targets, which builds without this change with go 1.19 but didn't in go 1.16
GOOS=freebsd GOARCH=amd64GOOS=freebsd GOARCH=385GOOS=freebsd GOARCH=arm64GOOS=freebsd GOARCH=arm🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.