[chore] move computing the git tag into a separate Linux-only step #1883
Workflow file for this run
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: CI - k8s - GoReleaser | |
| on: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| paths: | |
| - "distributions/otelcol-k8s/**" | |
| - "cmd/**" | |
| - ".github/**" | |
| - "scripts/**" | |
| - "Makefile" | |
| - "go.mod" | |
| - "go.sum" | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| paths: | |
| - "distributions/otelcol-k8s/**" | |
| - "cmd/**" | |
| - ".github/**" | |
| - "scripts/**" | |
| - "Makefile" | |
| - "go.mod" | |
| - "go.sum" | |
| jobs: | |
| check-goreleaser: | |
| name: CI - k8s - GoReleaser | |
| uses: ./.github/workflows/base-ci-goreleaser.yaml | |
| with: | |
| distribution: otelcol-k8s | |
| goos: '[ "linux" ]' | |
| goarch: '[ "amd64", "arm64", "ppc64le", "riscv64", "s390x" ]' | |
| secrets: inherit |