Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move init container release from lambda to GHA #998

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,14 @@ jobs:
path: newrelic-php-agent/releases
name: release-from-gha-${{ matrix.platform }}-${{ matrix.arch }}
if-no-files-found: error

- 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed - GitHub CLI is pre-installed and available on GitHub Actions runners:

run: |
gh auth login --with-token <<< $GH_RELEASE_TOKEN
echo "newrelic/newrelic-agent-init-container - Releasing New Relic PHP Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_php"
gh create release "${GITHUB_REF}.0_php" -t "New Relic PHP Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-agent-init-container
env:
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
Loading