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 7 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
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
10 changes: 10 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ jobs:
path: newrelic-php-agent/releases
name: release-from-gha-${{ matrix.platform }}-${{ matrix.arch }}
if-no-files-found: error
- name: Create release tags for K8s Init Containers
run: |
RELEASE_TITLE="New Relic PHP Agent ${GITHUB_REF_NAME}.0"
RELEASE_TAG="${GITHUB_REF_NAME}.0_php"
RELEASE_NOTES="Automated release for [PHP Agent ${GITHUB_REF_NAME}](https://github.com/newrelic/newrelic-php-agent/releases/tag/${GITHUB_REF_NAME})"
gh auth login --with-token <<< $GH_RELEASE_TOKEN
echo "newrelic/newrelic-agent-init-container - Releasing \"${RELEASE_TITLE}\" with tag ${RELEASE_TAG}"
gh release create "${RELEASE_TAG}" --title="${RELEASE_TITLE}" --repo=newrelic/newrelic-agent-init-container --notes="${RELEASE_NOTES}"
env:
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
Loading