Skip to content

[chore] Add Docker test pipeline #1086

[chore] Add Docker test pipeline

[chore] Add Docker test pipeline #1086

name: Continuous Integration - k8s - GoReleaser
on:
merge_group:
push:
branches: [main]
paths:
- "distributions/otelcol-k8s/**"
- "cmd/**"
- ".github/**"
- "scripts/**"
- "Makefile"
- "go.mod"
- "go.sum"
pull_request:
branches: [main]
paths:
- "distributions/otelcol-k8s/**"
- "cmd/**"
- ".github/**"
- "scripts/**"
- "Makefile"
- "go.mod"
- "go.sum"
jobs:
check-goreleaser:
name: Continuous Integration - k8s - GoReleaser
uses: ./.github/workflows/base-ci-goreleaser.yaml

Check failure on line 29 in .github/workflows/ci-goreleaser-k8s.yaml

View workflow run for this annotation

GitHub Actions / Continuous Integration - k8s - GoReleaser

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-goreleaser-k8s.yaml (Line: 29, Col: 11): Error from called workflow open-telemetry/opentelemetry-collector-releases/.github/workflows/base-ci-goreleaser.yaml@652da7d301b0f6120a0f2684ce2a3b4fb403ff7d (Line: 187, Col: 13): Unexpected symbol: '"Docker'. Located at position 67 within expression: contains(fromJSON(steps.build-snapshot.outputs.artifacts).*.type, "Docker Image") == 'true' In .github/workflows/ci-goreleaser-k8s.yaml (Line: 29, Col: 11): Error from called workflow open-telemetry/opentelemetry-collector-releases/.github/workflows/base-ci-goreleaser.yaml@652da7d301b0f6120a0f2684ce2a3b4fb403ff7d (Line: 199, Col: 13): Unexpected symbol: '"Docker'. Located at position 67 within expression: contains(fromJSON(steps.build-snapshot.outputs.artifacts).*.type, "Docker Image") == 'true'
with:
distribution: otelcol-k8s
goos: '[ "linux" ]'
goarch: '[ "amd64", "arm64", "ppc64le", "s390x" ]'
secrets: inherit