chore(deps): update dockerfile deps (#970) #1412
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 - Builder | |
on: | |
merge_group: | |
push: | |
branches: [main] | |
paths: | |
- "distributions/otelcol-contrib/**" | |
- "cmd/**" | |
- ".github/**" | |
- "scripts/**" | |
- "Makefile" | |
- "go.mod" | |
- "go.sum" | |
pull_request: | |
branches: [main] | |
paths: | |
- "distributions/otelcol-contrib/**" | |
- "cmd/**" | |
- ".github/**" | |
- "scripts/**" | |
- "Makefile" | |
- "go.mod" | |
- "go.sum" | |
env: | |
# renovate: datasource=github-tags depName=goreleaser-pro packageName=goreleaser/goreleaser-pro | |
GORELEASER_PRO_VERSION: v2.7.0 | |
jobs: | |
check-goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Releases Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Checkout Core Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
repository: "open-telemetry/opentelemetry-collector" | |
path: ".core" | |
- name: Copy Dockerfile to Core Repo directory | |
run: cp cmd/builder/Dockerfile .core/cmd/builder/Dockerfile | |
- uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2 | |
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0 | |
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0 | |
with: | |
platforms: amd64, arm64,ppc64le | |
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 | |
- name: Setup Go | |
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
go-version: "~1.24" | |
- name: Check GoReleaser | |
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0 | |
with: | |
distribution: goreleaser-pro | |
version: ${{ env.GORELEASER_PRO_VERSION }} | |
args: check --verbose -f cmd/builder/.goreleaser.yml | |
env: | |
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0 | |
with: | |
distribution: goreleaser-pro | |
version: ${{ env.GORELEASER_PRO_VERSION }} | |
args: --snapshot --clean -f cmd/builder/.goreleaser.yml | |
env: | |
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COSIGN_YES: false | |
SKIP_SIGNS: true |