gitea workflow for build and push smarti-helm-chart #1
| @ -21,8 +21,6 @@ jobs: | ||||
|         run: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash | ||||
|       - name: Lint Helm Chart | ||||
|         run: helm lint . | ||||
|       - name: pack helm release | ||||
|         run: helm package . | ||||
|   push: | ||||
|     runs-on: ubuntu-latest | ||||
|     container: | ||||
| @ -34,7 +32,12 @@ jobs: | ||||
|           fetch-depth: 0 # all history for all branches and tags | ||||
|       - name: Install Helm | ||||
|         run: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash | ||||
|       - name: pack helm release | ||||
|         run: helm package . | ||||
|       - name: Get Package Name | ||||
|         run: echo PACKAGE_NAME=$(ls | grep .tgz) >> $GITHUB_OUTPUT | ||||
|       - run: echo ${HELM_USER}>> $GITHUB_OUTPUT | ||||
|       - run: echo ${PACKAGE_NAME}>> $GITHUB_OUTPUT | ||||
|       - run: echo ${HELM_REPO}>> $GITHUB_OUTPUT | ||||
|       - name: Push to Package Repo | ||||
|         run: curl --user ${HELM_USER}:${HELM_PASSWD} -X POST --upload-file ./${PACKAGE_NAME} ${HELM_REPO} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user