Skip to content

fix(deps): update dependency @opentelemetry/auto-instrumentations-nod… #43

fix(deps): update dependency @opentelemetry/auto-instrumentations-nod…

fix(deps): update dependency @opentelemetry/auto-instrumentations-nod… #43

Workflow file for this run

---
name: Release
on:
push:
tags:
- "v*.*.*"
permissions: {}
jobs:
release:
runs-on: ubuntu-24.04
env:
# renovate: datasource=github-releases depName=cosign packageName=sigstore/cosign
COSIGN_VERSION: v3.0.2
permissions:
attestations: write
contents: read
id-token: write
steps:
- id: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- id: push-to-dockerhub
uses: grafana/shared-workflows/actions/docker-build-push-image@c658f0fe8393e31c39d266684ef273c6538ed0e1 # docker-build-push-image/v0.1.0
with:
dockerhub-repository: grafana/otel-lgtm
context: docker
push: true
platforms: linux/amd64,linux/arm64
registries: "dockerhub"
tags: |-
type=match,pattern=v(.*),group=1
latest
labels: |-
org.opencontainers.image.ref.name=${{ github.ref_name }}
org.opencontainers.image.revision=${{ github.sha }}
vcs-ref=${{ github.sha }}
version=${{ github.ref_name }}
- name: Generate artifact attestation
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
push-to-registry: true
subject-name: docker.io/grafana/otel-lgtm
subject-digest: ${{ steps.push-to-dockerhub.outputs.digest }}
- name: Install cosign
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
with:
cosign-release: ${{ env.COSIGN_VERSION }}
- name: Sign container images
env:
DIGEST: ${{ steps.push-to-dockerhub.outputs.digest }}
TAGS: ${{ steps.push-to-dockerhub.outputs.tags }}
run: echo "${TAGS}" | xargs -I {} cosign sign --yes "{}@${DIGEST}"