diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yaml similarity index 100% rename from .github/workflows/docker-image.yml rename to .github/workflows/docker-image.yaml diff --git a/.github/workflows/release-chart.yaml b/.github/workflows/release-chart.yaml new file mode 100644 index 0000000..98e04c3 --- /dev/null +++ b/.github/workflows/release-chart.yaml @@ -0,0 +1,33 @@ +name: Release Charts + +on: + push: + branches: + - master + paths: + - "charts/dnsimple/Chart.yaml" + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Get chart version + id: chart_version + uses: mikefarah/yq@d2f1ae9db722ac6b0702dd7f8a08dd22722d8c2d # v4.33.3 + with: + cmd: yq eval '.version' './charts/metrics-server/Chart.yaml' + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.5.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/charts/dnsimple/Chart.yaml b/charts/dnsimple/Chart.yaml index 7b84eb1..dd7ea20 100644 --- a/charts/dnsimple/Chart.yaml +++ b/charts/dnsimple/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.0.1" description: cert-manager webhook solver for ACME DNS01 challenge via DNSimple name: cert-manager-webhook-dnsimple -version: 0.1.1 +version: 0.0.1 home: https://github.com/jahanson/cert-manager-webhook-dnsimple sources: - https://github.com/jahanson/cert-manager-webhook-dnsimple