Release v0.0.01 #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
label_issue: | |
runs-on: ubuntu-latest | |
steps: | |
- env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
ISSUE_TITLE: ${{ github.event.issue.title }} | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: | | |
echo "ISSUE_TITLE" | |
update_network_operator_values: | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_TAG: "v0.0.2" | |
ISSUE_TITLE: ${{ github.event.issue.title }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN_NVIDIA_CI_CD }} | |
repository: ${{ github.repository_owner }}/sriov-network-operator | |
- name: store release name | |
run: echo "RELEASE_NAME=$(echo $ISSUE_TITLE | awk '/Release v/{print $2}')" >> $GITHUB_ENV | |
- name: Create PR to update image tags in network-operator values | |
run: | | |
git config user.name nvidia-ci-cd | |
git config user.email [email protected] | |
git checkout -b release-4.6 | |
git tag $RELEASE_NAME | |
git push origin --tags |