feat: Distroless Alloy docker image using chisel #16860
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test (Windows) | |
| on: | |
| push: | |
| # TODO: Also run the tests when a Windows-specific features is changed. | |
| # For example, the Windows Exporter for Prometheus and Event Log tailers. | |
| branches: | |
| - main | |
| # TODO: Run the Windows tests for each PR? | |
| # For now we don't do it just because it takes time. | |
| pull_request: | |
| types: [labeled, opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test_windows: | |
| if: ${{ contains(github.event.pull_request.labels.*.name, 'os:windows') || github.event_name == 'push' || github.event_name == 'merge_group' }} | |
| name: Test (Windows) | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Setup tools | |
| uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| version: v2026.5.18 | |
| sha256: 62aad5146848c6fb278eff90558940bd5685bb3ba7e34d64fd4e6ec9ed431f0d | |
| install_args: go | |
| - name: Test | |
| run: '& "C:/Program Files/git/bin/bash.exe" -c ''make GO_TAGS="nodocker nonetwork" test''' |