1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Jay Pipes 6d023b011e use container image platform only on docker 1.41+ (#591)
Commit fef399d057 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
.github update to codecov version 2021-03-29 09:07:13 -07:00
act use container image platform only on docker 1.41+ (#591) 2021-03-30 10:10:42 -07:00
cmd use container image platform only on docker 1.41+ (#591) 2021-03-30 10:10:42 -07:00
main.go Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00