You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/custom-flavors.md
+25-18Lines changed: 25 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You can easily generate your own MegaLinter custom flavor using the `mega-linter
18
18
19
19
- Create a new GitHub public repository whose name starts with `megalinter-custom-flavor` (example: `megalinter-custom-flavor-npm-groovy-lint`), with default README checked.
20
20
21
-

21
+

You can also send the list of linters as parameters, available from the logs of any official MegaLinter flavor (if you don't see it, make sure `FLAVOR_SUGGESTIONS: true` is defined in your `.mega-linter.yml` config file).
37
37
38
-

38
+


60
+
61
+
### Optional: Generate the image for ARM
62
+
63
+
> **Important:** Check the [linters you have selected](all_linters.md) in your flavor to see if they are compatible with `linux/arm64` platform.
64
+
65
+
To build the image for ARM as well, edit **megalinter-custom-flavor-builder.yml** and change:
66
+
67
+
```yml
68
+
platform: "linux/amd64"
69
+
```
70
+
71
+
To:
72
+
73
+
```yml
74
+
platform: "linux/amd64,linux/arm64"
75
+
```
59
76
60
77
### Commit and push your changes
61
78
62
79
Commit and push the generated files to GitHub.
63
80
64
-

81
+

65
82
66
83
### Configure Personal Access Token (Required)
67
84
@@ -106,17 +123,15 @@ Your custom flavor will be built and published automatically in two ways:
106
123
- Push to any branch (except main) to build a `beta` tagged image
107
124
- Manually run the `megalinter-custom-flavor-builder` workflow
108
125
109
-

126
+

110
127
111
-

112
-
113
-

128
+

114
129
115
130
## Use a Custom Flavor
116
131
117
132
Follow [MegaLinter installation guide](https://megalinter.io/latest/install-assisted/), and replace related elements in the workflow.
118
133
119
-

134
+

120
135
121
136
### GitHub Action
122
137
@@ -175,11 +190,3 @@ Your custom flavor automatically stays up to date with MegaLinter releases:
175
190
3. The builder workflow will automatically create your custom flavor using that MegaLinter version
176
191
177
192
**Troubleshooting**: If automatic version checking isn't working, ensure you have configured the `PAT_TOKEN` secret as described in the setup instructions above.
0 commit comments