mirror of
https://github.com/nektos/act.git
synced 2024-09-11 04:25:30 +03:00
revert: deprecation of containerArchitecture (#1514)
* fix: ci snaphot job * revert: deprecation of containerArchitecture This option isn't part of parsed docker cli flags Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
c044035d9e
commit
4989f444f1
2
.github/actions/choco/Dockerfile
vendored
2
.github/actions/choco/Dockerfile
vendored
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.16
|
FROM alpine:3.17
|
||||||
|
|
||||||
ARG CHOCOVERSION=1.1.0
|
ARG CHOCOVERSION=1.1.0
|
||||||
|
|
||||||
|
@ -422,9 +422,6 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str
|
|||||||
if len(input.usernsMode) > 0 {
|
if len(input.usernsMode) > 0 {
|
||||||
log.Warnf(deprecationWarning, "userns", fmt.Sprintf("--userns=%s", input.usernsMode))
|
log.Warnf(deprecationWarning, "userns", fmt.Sprintf("--userns=%s", input.usernsMode))
|
||||||
}
|
}
|
||||||
if len(input.containerArchitecture) > 0 {
|
|
||||||
log.Warnf(deprecationWarning, "container-architecture", fmt.Sprintf("--platform=%s", input.containerArchitecture))
|
|
||||||
}
|
|
||||||
if len(input.containerCapAdd) > 0 {
|
if len(input.containerCapAdd) > 0 {
|
||||||
log.Warnf(deprecationWarning, "container-cap-add", fmt.Sprintf("--cap-add=%s", input.containerCapAdd))
|
log.Warnf(deprecationWarning, "container-cap-add", fmt.Sprintf("--cap-add=%s", input.containerCapAdd))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user