Commit af5140f13e
introduced support for
specifying a container image platform for cross-platform image building.
Unfortunately, attempting to execute a docker command that includes the
`--platform` flag against Docker daemons using API Version 1.40 and
before results in the following error:
```
"specify container image platform" requires API version 1.41, but the Docker daemon API version is 1.40
```
To allow `act` to be used on the 19.03 Docker CE and earlier versions,
this patch simply checks the Docker daemon API version and only
specifies platform specification when the daemon API version is 1.41 or
greater.
Fixes Issue #586
46 lines
1.9 KiB
Modula-2
46 lines
1.9 KiB
Modula-2
module github.com/nektos/act
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
github.com/AlecAivazis/survey/v2 v2.2.7
|
|
github.com/Masterminds/semver v1.5.0
|
|
github.com/MichaelTJones/walk v0.0.0-20161122175330-4748e29d5718 // indirect
|
|
github.com/andreaskoch/go-fswatch v1.0.0
|
|
github.com/containerd/containerd v1.4.1 // indirect
|
|
github.com/containerd/continuity v0.0.0-20200928162600-f2cc35102c2a // indirect
|
|
github.com/docker/cli v20.10.3+incompatible
|
|
github.com/docker/docker v20.10.3+incompatible
|
|
github.com/go-git/go-billy/v5 v5.0.0
|
|
github.com/go-git/go-git/v5 v5.2.0
|
|
github.com/go-ini/ini v1.62.0
|
|
github.com/golang/protobuf v1.4.3 // indirect
|
|
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
|
|
github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c
|
|
github.com/imdario/mergo v0.3.11 // indirect
|
|
github.com/joho/godotenv v1.3.0
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
|
|
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect
|
|
github.com/mgutz/str v1.2.0 // indirect
|
|
github.com/moby/buildkit v0.8.1
|
|
github.com/moby/sys/mount v0.2.0 // indirect
|
|
github.com/opencontainers/image-spec v1.0.1
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/robertkrimen/otto v0.0.0-20200922221731-ef014fd054ac
|
|
github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94
|
|
github.com/sirupsen/logrus v1.7.0
|
|
github.com/spf13/cobra v1.1.1
|
|
github.com/stretchr/testify v1.7.0
|
|
github.com/xanzy/ssh-agent v0.3.0 // indirect
|
|
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b // indirect
|
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 // indirect
|
|
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
|
|
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221
|
|
google.golang.org/genproto v0.0.0-20201117123952-62d171c70ae1 // indirect
|
|
google.golang.org/grpc v1.33.2 // indirect
|
|
gopkg.in/godo.v2 v2.0.9
|
|
gopkg.in/sourcemap.v1 v1.0.5 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
|
|
gotest.tools/v3 v3.0.2
|
|
)
|