diff options
author | ChristopherHX <christopher.homberger@web.de> | 2022-12-19 22:24:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-19 22:24:05 +0100 |
commit | 4989f444f1085ac0ec6b9bc35de92dc22f3c9f5d (patch) | |
tree | 740043d5a57cf84704119321b5cf8d5244fff484 /cmd | |
parent | build(deps): bump goreleaser/goreleaser-action from 3 to 4 (#1515) (diff) | |
download | forgejo-act-4989f444f1085ac0ec6b9bc35de92dc22f3c9f5d.tar.xz forgejo-act-4989f444f1085ac0ec6b9bc35de92dc22f3c9f5d.zip |
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/root.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/root.go b/cmd/root.go index 2a0baf0..92ae873 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -422,9 +422,6 @@ func newRunCommand(ctx context.Context, input *Input) func(*cobra.Command, []str if len(input.usernsMode) > 0 { 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 { log.Warnf(deprecationWarning, "container-cap-add", fmt.Sprintf("--cap-add=%s", input.containerCapAdd)) } |