Skip to content

Commit

Permalink
Update generate-manifest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap authored Jan 10, 2024
1 parent 79259d0 commit d4ea38f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/generate-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ jobs:
run: |
echo "Version=${{ steps.get_version_upload_url.outputs.version }}"
- name: Update version in kustomization.yaml
- name: Update version in kustomization.yaml & default CRO
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
yq -i '.metadata.labels."app.kubernetes.io/version"="${{ steps.get_version_upload_url.outputs.version }}"' config/samples/operator_v1alpha1_capoperator.yaml
- name: Download kustomize cli
run: |
Expand Down

0 comments on commit d4ea38f

Please sign in to comment.