Release 0.86.0 (#2202) #87
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: "Prepare the release" | |
on: | |
push: | |
tags: [ 'v*' ] | |
jobs: | |
release: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "~1.21.1" | |
- uses: actions/checkout@v4 | |
- name: "generate release resources" | |
run: make release-artifacts IMG_PREFIX="ghcr.io/open-telemetry/opentelemetry-operator" | |
- name: "create the release in GitHub" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./.ci/create-release-github.sh | |
- name: "refresh go proxy module info on release" | |
run: | | |
OPERATOR_VERSION=$(git describe --tags) | |
curl https://proxy.golang.org/github.com/open-telemetry/opentelemetry-operator/@v/${OPERATOR_VERSION}.info | |
operator-hub-prod-release: | |
needs: release | |
uses: ./.github/workflows/reusable-operator-hub-release.yaml | |
with: | |
org: redhat-openshift-ecosystem | |
repo: community-operators-prod | |
secrets: | |
OPENTELEMETRYBOT_GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} | |
operator-hub-community-release: | |
needs: release | |
uses: ./.github/workflows/reusable-operator-hub-release.yaml | |
with: | |
org: k8s-operatorhub | |
repo: community-operators | |
secrets: | |
OPENTELEMETRYBOT_GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} |