Merge pull request #973 from fluxcd/fix-972 #2139
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: build | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [ 'main', 'release/**' ] | |
| jobs: | |
| test-linux-amd64: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read # for reading the repository code. | |
| steps: | |
| - name: Test suite setup | |
| uses: fluxcd/gha-workflows/.github/actions/[email protected] | |
| with: | |
| go-version: 1.25.x | |
| - name: Run tests | |
| run: make test | |
| - name: Verify | |
| run: make verify | |
| - name: Build container image | |
| run: | | |
| make docker-build IMG=ghcr.io/fluxcd/${{ github.event.repository.name }} \ | |
| BUILD_PLATFORMS=linux/amd64 \ | |
| BUILD_ARGS="--load" |