diff --git a/.github/workflows/generate-manifest.yml b/.github/workflows/generate-manifest.yml index dda9737..f6f2800 100644 --- a/.github/workflows/generate-manifest.yml +++ b/.github/workflows/generate-manifest.yml @@ -58,7 +58,8 @@ jobs: - name: Update version in kustomization.yaml run: | yq -i '.images[0].newTag="${{ steps.get_version_upload_url.outputs.version }}"' config/default/kustomization.yaml - + yq -i '.labels[0].pairs."app.kubernetes.io/version"="${{ steps.get_version_upload_url.outputs.version }}"' config/default/kustomization.yaml + - name: Download kustomize cli run: | curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash