diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml new file mode 100644 index 00000000..87df7df8 --- /dev/null +++ b/.github/workflows/chart.yaml @@ -0,0 +1,28 @@ +name: Publish Chart + +on: + push: + branches: + - main +jobs: + publish: + name: Publish helm chart + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Run chart-releaser + id: release + uses: helm/chart-releaser-action@v1.5.0 + with: + config: "./.github/configs/cr.yaml" + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7812f692..8261a1e8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -20,29 +20,6 @@ jobs: go-version-file: go.mod check-latest: true - run: PATH=$PATH:$GOPATH/bin make test - - publish: - name: Publish helm chart - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Run chart-releaser - id: release - uses: helm/chart-releaser-action@v1.5.0 - with: - config: "./.github/configs/cr.yaml" - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - publish-docker: name: Build and push agent container runs-on: ubuntu-20.04 diff --git a/charts/deployment-operator/Chart.yaml b/charts/deployment-operator/Chart.yaml index 30bae2c4..285f3a92 100644 --- a/charts/deployment-operator/Chart.yaml +++ b/charts/deployment-operator/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: deployment-operator description: creates a new instance of the plural deployment operator type: application -version: 0.1.2 -appVersion: "0.1.2" +version: 0.1.3 +appVersion: "0.1.3" maintainers: - name: Plural url: https://www.plural.sh