Added support for multi-namespace watch on services and made nodeInfo… #8
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
name: Release Chart | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "charts/external-dns/Chart.yaml" | |
permissions: {} | |
jobs: | |
release: | |
permissions: | |
contents: write # to push chart release and create a release (helm/chart-releaser-action) | |
if: github.repository == 'adobe/external-dns' | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | |
with: | |
fetch-depth: 0 | |
- name: Get chart version | |
id: chart_version | |
run: | | |
set -euo pipefail | |
chart_version="$(grep -Po "(?<=^version: ).+" charts/external-dns/Chart.yaml)" | |
echo "version=${chart_version}" >> $GITHUB_OUTPUT | |
- name: Create release notes | |
run: | | |
set -euo pipefail | |
cat <<"EOF" > charts/external-dns/RELEASE.md | |
${{ steps.changelog_reader.outputs.changes }} | |
EOF | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Set-up Helm | |
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: latest | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
CR_RELEASE_NAME_TEMPLATE: "external-dns-helm-chart-{{ .Version }}" | |
CR_RELEASE_NOTES_FILE: RELEASE.md | |
CR_MAKE_RELEASE_LATEST: false |