diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 15f0d1014..a5b1e8e95 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -315,11 +315,9 @@ jobs: with: persist-credentials: false fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - - name: push chart - uses: pluralsh/chart-releaser@v0.1.3 - with: - path: ./plural/helm/plural - release: ${{github.ref_name}} + - name: update context + run: | + sed -i '' 's/version: .* # VERSION/version: ${{github.ref_name}} # VERSION/' plural/manifests/context.yaml - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: diff --git a/plural/manifests/context.yaml b/plural/manifests/context.yaml new file mode 100644 index 000000000..fbe2c3564 --- /dev/null +++ b/plural/manifests/context.yaml @@ -0,0 +1,10 @@ +apiVersion: deployments.plural.sh/v1alpha1 +kind: PipelineContext +metadata: + name: plural +spec: + pipelineRef: + name: plural + namespace: infra + context: + version: sha-a1f4280 # VERSION \ No newline at end of file