Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
4a9dfec
Build flavors workflow
bdovaz Jun 23, 2022
e876649
Add arm_compliant field to env descriptor
bdovaz Jun 24, 2022
afaccf4
Empty Dockerfile_arm
bdovaz Jun 24, 2022
806a17f
build.py WIP
bdovaz Jun 24, 2022
760dd4c
Add linter supported_architectures with CPU architecture-specific ins…
echoix Jul 4, 2022
d50b5ef
Apply formatting of json schema
echoix Jul 4, 2022
8051514
Use proper Docker architectures names
echoix Jul 4, 2022
00f4c10
Change to supported_platforms to match the built-in build variable TA…
echoix Jul 4, 2022
dbbf788
Add riscv into cspell ignored words
echoix Jul 4, 2022
6d289d3
Remove changes
bdovaz Jul 10, 2022
a02001c
WIP
bdovaz Jul 10, 2022
fbc6f85
WIP
bdovaz Jul 10, 2022
34cca97
Update megalinter-descriptor.jsonschema for supported platforms at th…
echoix Jul 10, 2022
90d7369
Update examples to remove parent property from being included
echoix Jul 10, 2022
7cd155f
Add supported_platforms to bash descriptor
echoix Jul 4, 2022
f96a1a7
First iteration on multi-platform support in descriptors
bdovaz Jul 12, 2022
5435aa1
Add cspell exclusions for TARGETPLATFORM, aarch64, and armv6
echoix Sep 3, 2022
7d93ba4
Update jsonschema
bdovaz Dec 29, 2022
0962074
Add TARGETPLATFORM arg to shellcheck
bdovaz Dec 29, 2022
c54c36c
Add conditions to kubeval and misspell
bdovaz Jan 5, 2023
5411a2f
Powershell cross platform support
bdovaz Jan 11, 2023
ddb912a
Revert build.py changes
bdovaz Feb 26, 2023
bb159fe
Add linux/arm64 target
bdovaz Feb 26, 2023
13f3774
Add arm64 arch where possible to descriptors
bdovaz Feb 26, 2023
7a5fb66
Fix linters
bdovaz Feb 26, 2023
0d4a3d7
[MegaLinter] Apply linters fixes
bdovaz Feb 26, 2023
16d4bfb
qemu fixes
bdovaz Feb 26, 2023
cb90ee9
qemu fixes
bdovaz Feb 26, 2023
b8c7440
Fix buildx command
bdovaz Feb 26, 2023
4cbdeef
Remove --platform from run
bdovaz Feb 26, 2023
f614e6c
Split Run Test Cases step by platform
bdovaz Feb 26, 2023
01b03f5
Fix linters
bdovaz Mar 26, 2023
c07208e
Add supported platforms to all_linters.md
bdovaz Mar 26, 2023
fb7f91d
Run update.sh --doc
bdovaz Mar 26, 2023
2de2494
Run build.sh --doc
bdominguez Apr 13, 2023
fa75c38
Add additional platforms
bdominguez Apr 13, 2023
8dadab4
[MegaLinter] Apply linters fixes
bdovaz Apr 13, 2023
d69d9c8
[MegaLinter] Apply linters fixes
nvuillam Apr 13, 2023
2658829
Run build.sh --doc
bdovaz May 14, 2023
21a6b61
[MegaLinter] Apply linters fixes
bdovaz May 14, 2023
2979f08
Squashed commit of the following:
bdovaz Jul 18, 2023
49ab2ad
Merge branch 'main' into dev/multi-platform-images
bdovaz Jul 18, 2023
7348c0a
remove duplicated entry
bdovaz Jul 18, 2023
7e4bdba
Run build.sh
bdovaz Jul 18, 2023
ac63bda
Merge branch 'main' into dev/multi-platform-images
bdovaz Jan 4, 2024
8840e1a
Merge branch 'main' into dev/multi-platform-images
bdovaz Jan 4, 2024
fe466b2
Restore action
bdovaz Jan 5, 2024
0873468
Fix arg usage
bdovaz Jan 5, 2024
5754c46
Fix workflow
bdovaz Jan 5, 2024
87ab3eb
Fix workflow
bdovaz Jan 5, 2024
84f0eed
Merge branch 'main' into dev/multi-platform-images
bdovaz Jun 1, 2024
d5cae30
[MegaLinter] Apply linters fixes
bdovaz Jun 1, 2024
0a83116
Merge branch 'main' into dev/multi-platform-images
echoix Jun 10, 2024
aa664d3
[build-command] Update generated files
github-actions[bot] Jun 10, 2024
4c19290
Merge branch 'main' into dev/multi-platform-images
bdovaz Sep 19, 2025
47ac153
wip
bdovaz Sep 19, 2025
7328183
Merge 47ac1530828fb37d119c78ea2552f4f66e558f97 into 8cbc3488aa8d753be…
bdovaz Sep 19, 2025
bd21cc5
[MegaLinter] Apply linters fixes
bdovaz Sep 19, 2025
4c7a33e
Merge branch 'main' into dev/multi-platform-images
bdovaz Sep 28, 2025
178c962
wip
bdovaz Sep 28, 2025
7d7de08
Install rust toolchain in build-ml-core stage in a single Dockerfile
echoix Oct 1, 2025
c1a6dd9
Apply suggestions from code review
echoix Oct 1, 2025
938b414
Apply suggestion from code review for rust version arg
echoix Oct 1, 2025
76ae0bc
Need to keep installation of curl
echoix Oct 1, 2025
cf6c718
Keep ARG RUST_RUST_VERSION without setting in inside stage when set f…
echoix Oct 1, 2025
4a4a53f
Debug installed rust tools
echoix Oct 1, 2025
a4b99b2
Add libgcc alpine package for libgcc_s library
echoix Oct 1, 2025
845471d
Add musl-dev for having cc linker available
echoix Oct 1, 2025
a3bae02
Add build-base apk package
echoix Oct 1, 2025
9f537d6
Debug uv cache
echoix Oct 1, 2025
d9b8174
Make targetplatform-dependent build-ml-core stage
echoix Oct 1, 2025
844551b
Do not finish stage name with tack
echoix Oct 1, 2025
07a9081
Update description of stages and move env var
echoix Oct 1, 2025
3efd618
Fix uv cache mount in other stage by setting the option source= as de…
echoix Oct 1, 2025
6ccc467
Use sharing locked in uv cache
echoix Oct 1, 2025
34c7d66
Debugging cache mount
echoix Oct 1, 2025
658cfae
Debugging uv cache mount
echoix Oct 1, 2025
2d1100b
Debugging uv cache mount
echoix Oct 1, 2025
5bdac18
Disable uv managed python: only use system python
echoix Oct 1, 2025
6b4b3a1
Remove debugging ls prints
echoix Oct 1, 2025
4e63364
Update .python-version to match base image
echoix Oct 2, 2025
5fe625b
Apply single-linger tested changes to generic full Dockerfile
echoix Oct 2, 2025
02f8a95
[build-command] Update generated files
github-actions[bot] Oct 2, 2025
427f3ef
Update Dockerfile to fix bad cut and paste
echoix Oct 2, 2025
7856490
[build-command] Update generated files
github-actions[bot] Oct 2, 2025
33d8fd0
Merge branch 'main' into dev/multi-platform-images
echoix Oct 2, 2025
dc9ed8f
Update Dockerfile
echoix Oct 2, 2025
e21127a
[build-command] Update generated files
github-actions[bot] Oct 2, 2025
02be3ff
Merge branch 'main' into dev/multi-platform-images
echoix Oct 2, 2025
9092829
Merge branch 'main' into dev/multi-platform-images
bdovaz Oct 19, 2025
d709847
Merge branch 'main' into dev/multi-platform-images
bdovaz Oct 25, 2025
cffa53f
Merge branch 'main' into dev/multi-platform-images
bdovaz Oct 25, 2025
f9d3e04
wip
bdovaz Oct 26, 2025
66f1aa3
Merge branch 'main' into dev/multi-platform-images
bdovaz Oct 29, 2025
f9997d8
wip
bdovaz Nov 1, 2025
fc66c5a
Merge branch 'main' into dev/multi-platform-images
bdovaz Nov 3, 2025
2da26b9
Merge branch 'main' into dev/multi-platform-images
bdovaz Nov 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .automation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2974,6 +2974,7 @@ def generate_documentation_all_linters():
linters.sort(key=lambda x: x.linter_name)
table_header = [
"Linter",
"Supported Platforms",
"Version",
"License",
"Popularity",
Expand Down Expand Up @@ -3159,9 +3160,17 @@ def generate_documentation_all_linters():
f"[![GitHub stars](https://img.shields.io/github/stars/{repo}?cacheSeconds=3600)]"
f"(https://github.com/{repo}){{target=_blank}}"
)
supported_platforms = []
# supported platforms
if (
hasattr(linter, "supported_platforms")
and "platform" in linter.supported_platforms
):
supported_platforms += linter.supported_platforms["platform"]
# line
table_line = [
linter.linter_name,
", ".join(supported_platforms),
linter_version,
license,
"N/A",
Expand All @@ -3178,6 +3187,7 @@ def generate_documentation_all_linters():
linter_doc_links += [link]
md_table_line = [
md_linter_name,
"<br/> ".join(supported_platforms),
linter_version,
md_license,
md_popularity,
Expand Down Expand Up @@ -3218,10 +3228,10 @@ def generate_documentation_all_linters():
outfile.write("<!-- markdownlint-disable -->\n\n")
outfile.write("# References\n\n")
outfile.write(
"| Linter | Version | License | Popularity | Descriptors | Ref | URL |\n"
"| Linter | Supported Platforms | Version | License | Popularity | Descriptors | Ref | URL |\n"
)
outfile.write(
"| :---- | :-----: | :-----: | :-----: | :--------- | :--------------: | :-: |\n"
"| :---- | :-----: | :-----: | :-----: | :-----: | :--------- | :--------------: | :-: |\n"
)
for md_table_line in md_table_lines:
outfile.write("| %s |\n" % " | ".join(md_table_line))
Expand Down
2 changes: 1 addition & 1 deletion .automation/generated/linter-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"puppet-lint": "4.3.0",
"pylint": "4.0.3",
"pyright": "1.1.407",
"raku": "2024.12",
"raku": "2025.08",
"remark-lint": "14.0.2",
"revive": "1.13.0",
"robocop": "6.10.1",
Expand Down
7 changes: 6 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@
"Symilar",
"Symlinks",
"Syntastic",
"TARGETPLATFORM",
"TEAMPROJECT",
"TEKTON",
"TERMIOS",
Expand Down Expand Up @@ -576,6 +577,7 @@
"YOURBRANCH",
"YOURORGNAME",
"YOURUSERNAME",
"aarch64",
"abhith",
"absolutized",
"abstractproperty",
Expand Down Expand Up @@ -610,6 +612,7 @@
"aren",
"argparse",
"aristanetworks",
"armv6",
"artefacts",
"asdict",
"ashokm",
Expand Down Expand Up @@ -1129,6 +1132,7 @@
"msrest",
"mstruebing",
"msvs",
"multiarch",
"muandane",
"multiline",
"multimatch",
Expand Down Expand Up @@ -1371,6 +1375,7 @@
"rexec",
"rgba",
"risd",
"riscv",
"rmfamily",
"robotframework",
"rockspec",
Expand Down Expand Up @@ -1643,4 +1648,4 @@
"zavoloklom",
"zricethezav"
]
}
}
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# These are supported funding model platforms

github: [nvuillam, echoix, bdovaz]
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
#################################
# GitHub Dependabot Config info #
#################################
Expand Down
1 change: 1 addition & 0 deletions .github/linters/.cfnlintrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
include_checks:
- I
1 change: 1 addition & 0 deletions .github/linters/.checkov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# You can see all available properties here: https://github.com/bridgecrewio/checkov#configuration-using-a-config-file
quiet: true
skip-check:
Expand Down
1 change: 1 addition & 0 deletions .github/linters/.hadolint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ignored:
- DL3007
- DL3016
Expand Down
1 change: 1 addition & 0 deletions .github/linters/.protolintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Lint directives.
lint:
# Linter rules.
Expand Down
1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
template: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=auto_update_${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ALPHA-flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
with:
context: .
file: flavors/${{ matrix.flavor }}/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-ALPHA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-BETA-flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
"terraform",
]
# flavors-end
platform: ["linux/amd64"]
platform: ["linux/amd64", "linux/arm64"]
# Only run this on the main repo
if: >-
(
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-BETA-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
max-parallel: 10
matrix:
linter: ${{ fromJson(needs.get-linters-matrix.outputs.linters) }}
platform: ["linux/amd64"]
platform: ["linux/amd64", "linux/arm64"]
# Only run this on the main repo
if: >-
(
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-BETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
BUILD_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-DEV-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
max-parallel: 18
matrix:
linter: ${{ fromJson(needs.get-linters-matrix.outputs.linters) }}
platform: ["linux/amd64"]
platform: ["linux/amd64", "linux/arm64"]
# Only run this on the main repo
if: |
(
Expand Down
27 changes: 17 additions & 10 deletions .github/workflows/deploy-DEV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
# Set the agent to run on
runs-on: ubuntu-latest
permissions: read-all
services:
registry:
image: registry:2
ports:
- 5000:5000
env:
# If using Docker Hub, trivy would need to have docker.io as prefix
REGISTRY_PREFIX: localhost:5000
# Prevent duplicate run from happening when a forked push is committed
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, 'skip deploy')
# Set max build time for the job
Expand All @@ -66,13 +74,15 @@ jobs:
id: meta
with:
images: |
${{ github.repository }}
${{ env.REGISTRY_PREFIX }}/${{ github.repository }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

###################################
# Build image locally for testing #
Expand All @@ -84,14 +94,13 @@ jobs:
with:
context: .
file: Dockerfile-quick
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
BUILD_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
BUILD_REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
MEGA_LINTER_BASE_IMAGE="oxsecurity/megalinter:beta"
load: true
push: false
push: true
secrets: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -113,13 +122,12 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
BUILD_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
BUILD_REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
load: true
push: false
push: true
secrets: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -140,13 +148,12 @@ jobs:
with:
context: .
file: Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
BUILD_VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
BUILD_REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
load: true
push: false
push: true
secrets: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down
1 change: 1 addition & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Configuration file for MegaLinter
# See all available variables at https://megalinter.io/configuration/ and in linters documentation

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [ruff](https://github.com/astral-sh/ruff) from 0.14.1 to **0.14.2** on 2025-10-29
- [rubocop](https://rubocop.org/) from 1.81.1 to **1.81.6** on 2025-10-29
- [snakemake](https://snakemake.github.io/) from 9.13.3 to **9.13.4** on 2025-10-29
- [raku](https://raku.org/) from 2024.12 to **2025.08** on 2025-11-01
- [clippy](https://github.com/rust-lang/rust-clippy) from 0.1.90 to **0.1.91** on 2025-10-31
- [robocop](https://github.com/MarketSquare/robotframework-robocop) from 6.8.3 to **6.9.2** on 2025-11-02
- [cfn-lint](https://github.com/aws-cloudformation/cfn-lint) from 1.40.2 to **1.40.3** on 2025-11-02
Expand Down
Loading
Loading