Skip to content

auto-instrumentation-go #1

auto-instrumentation-go

auto-instrumentation-go #1

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/newrelic-experimental/newrelic-agent-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/newrelic-experimental/newrelic-agent-operator/@v/${OPERATOR_VERSION}.info