summaryrefslogtreecommitdiffstats
path: root/pkg/container/docker_cli.go
diff options
context:
space:
mode:
authorChristopherHX <christopher.homberger@web.de>2023-01-10 23:08:57 +0100
committerGitHub <noreply@github.com>2023-01-10 23:08:57 +0100
commit7e8d0708111125b11166494dc22da6d67f9e83e7 (patch)
tree4d8cdf55bd36f2f74c29384c83beecac96aead46 /pkg/container/docker_cli.go
parentfix: extra path lost in composite actions (#1531) (diff)
downloadforgejo-act-7e8d0708111125b11166494dc22da6d67f9e83e7.tar.xz
forgejo-act-7e8d0708111125b11166494dc22da6d67f9e83e7.zip
feat: Allow building without docker support (#1507)
* feat: Allow building without docker support * fix macos build tag Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'pkg/container/docker_cli.go')
-rw-r--r--pkg/container/docker_cli.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/container/docker_cli.go b/pkg/container/docker_cli.go
index 60c9fe8..a1481c3 100644
--- a/pkg/container/docker_cli.go
+++ b/pkg/container/docker_cli.go
@@ -1,3 +1,5 @@
+//go:build !(WITHOUT_DOCKER || !(linux || darwin || windows))
+
// This file is exact copy of https://github.com/docker/cli/blob/9ac8584acfd501c3f4da0e845e3a40ed15c85041/cli/command/container/opts.go
// appended with license information.
//