Skip to content

Prepare release v0.79.0 (#1816) #80

Prepare release v0.79.0 (#1816)

Prepare release v0.79.0 (#1816) #80

Workflow file for this run

name: "Prepare the release"
on:
push:
tags: [ 'v*' ]
jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
- uses: actions/checkout@v3
- 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 }}