act/cmd
Jay Pipes d67e282f68
use container image platform only on docker 1.41+ (#591)
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
2021-03-30 10:10:42 -07:00
..
graph.go successfully able to run simple workflows 2020-02-20 21:05:25 -05:00
input.go Add option to run custom architecture (container platform) (#525) 2021-03-28 21:08:40 -07:00
list.go Simpler list view (#382) 2020-10-12 10:26:22 -07:00
platforms.go Update Docker images (#524) 2021-02-23 09:49:24 -08:00
root.go use container image platform only on docker 1.41+ (#591) 2021-03-30 10:10:42 -07:00
secrets.go Make all secrets case insensitive by formatting them to uppercase (#470) 2021-01-12 09:54:53 -08:00