chore(deps): update opentelemetry collector to v0.85.0 (#60) #10
Workflow file for this run
This file contains 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 and Release | |
on: | |
push: | |
# run only against version tags | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
name: Release | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "~1.21.0" | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64,ppc64le | |
- uses: docker/setup-buildx-action@v3 | |
- uses: anchore/sbom-action/[email protected] | |
- name: Cache tools | |
uses: actions/cache@v3 | |
with: | |
path: .tools | |
key: release-tools-${{ runner.os }}-${{ hashFiles('internal/tools/go.sum') }} | |
- name: Touch tools | |
run: | | |
mkdir -p .tools | |
touch .tools/* | |
- name: Login to GitHub Package Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create release for version tag | |
run: make release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |