File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and push docker image with latest tag
1+ name : Publish main branch artifact
22on :
33 push :
44 branches : [ main ]
3333 password : ${{ secrets.GITHUB_TOKEN }}
3434 - name : Build operator image
3535 run : make docker-buildx-latest
36+ - name : Install Helm
37+ run : curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
38+ - name : Set VERSION
39+ run : |
40+ FULL_VER=$(make -s print-full-version)
41+ echo "VERSION=${FULL_VER#v}" >> "$GITHUB_ENV" # strips 'v' → 0.0.3-d33b34f
42+ - name : Package and push helm chart
43+ run : |
44+ helm registry login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
45+ make push-helmchart
Original file line number Diff line number Diff line change 1313FULL_VERSION := v$(VERSION )
1414endif
1515
16+ .PHONY : print-full-version
17+ print-full-version : # # Print the computed full version
18+ @echo $(FULL_VERSION )
19+
1620# CHANNELS define the bundle channels used in the bundle.
1721# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
1822# To re-generate a bundle for other specific channels without changing the standard setup, you can:
You can’t perform that action at this time.
0 commit comments