diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb920a080a..5e1db94fed 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,3 +60,16 @@ jobs: - name: Publish newrelic-infinite_tracing to rubygems.org run: ruby ./.github/workflows/scripts/rubygems-publish.rb infinite_tracing/newrelic-infinite_tracing + + - name: Create release tags for Lambda and K8s Init Containers + uses: dev-hanz-ops/install-gh-cli-action@c78dbed4be2f8d6133a14a9a597ee12fd4ed5c93 # v3 + with: + gh-cli-version: 2.63.2 + run: | + gh auth login --with-token <<< $GH_RELEASE_TOKEN + echo "newrelic/newrelic-lambda-layers - Releasing New Relic Ruby Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_ruby" + gh create release "${GITHUB_REF}.0_ruby" -t "New Relic Ruby Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-lambda-layers + echo "newrelic/newrelic-agent-init-container - Releasing New Relic Ruby Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_ruby" + gh create release "${GITHUB_REF}.0_ruby" -t "New Relic Ruby Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-agent-init-container + env: + GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}