build(deps): update gcr.io/distroless/static docker digest to 3592aa8… #3703
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: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/workflows/build.yaml" | |
| - "go.mod" | |
| - "go.sum" | |
| - "Taskfile.yaml" | |
| - "**.go" | |
| - "**.go.json" | |
| - "etc/Dockerfile" | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - ".github/workflows/build.yaml" | |
| - "go.mod" | |
| - "go.sum" | |
| - "Taskfile.yaml" | |
| - "**.go" | |
| - "**.go.json" | |
| - "etc/Dockerfile" | |
| env: | |
| GOTOOLCHAIN: "local" | |
| jobs: | |
| docker: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7.0.0 | |
| with: | |
| submodules: true | |
| - uses: trim21/actions/setup-go@master | |
| with: | |
| cache-namespace: build | |
| - name: Install Task | |
| uses: arduino/setup-task@v2.0.0 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| - run: task build | |
| name: Build Binary | |
| - run: docker build -t tmp -f etc/Dockerfile . | |
| - run: docker run tmp -h |