Merge pull request #4 from ninech/add-dns-config-to-helm-chart #1
Workflow file for this run
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: package-helm-chart | ||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
- 'v*.*.*-*' | ||
workflow_dispatch: | ||
jobs: | ||
package-and-push-helm-chart: | ||
permissions: | ||
contents: read | ||
packages: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
- name: Set environment variables | ||
id: set-variables | ||
run: | | ||
echo "REPOSITORY=ghcr.io/$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" | ||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ github.token }} | ||
- name: Build, package and push helm chart | ||
run: | | ||
Check failure on line 35 in .github/workflows/chart.yaml GitHub Actions / package-helm-chartInvalid workflow file
|
||
./tool/go run cmd/k8s-operator/generate/main.go helmcrd | ||
./tool/helm package --app-version="${GITHUB_REF}" --version=${GITHUB_REF} './cmd/k8s-operator/deploy/chart' | ||
./tool/helm push ./tailscale-operator-${{ $GITHUB_REF }}.tgz oci://${{ steps.set-variables.outputs.REPOSITORY }}/charts |