Push to zot
This commit is contained in:
		@@ -41,17 +41,18 @@ steps:
 | 
			
		||||
    environment:
 | 
			
		||||
      - DISABLE_FORCE_OVERWRITE='true'
 | 
			
		||||
      - ALLOW_OVERWRITE='false'
 | 
			
		||||
      - REGISTRY_URL=registry.badhouseplants.net
 | 
			
		||||
      - REGISTRY_USERNAME=woody
 | 
			
		||||
    commands:
 | 
			
		||||
      - |
 | 
			
		||||
          helm registry login git.badhouseplants.net \
 | 
			
		||||
            --username allanger \
 | 
			
		||||
            --password  $GITEA_TOKEN
 | 
			
		||||
          helm registry login $REGISTRY_URL \
 | 
			
		||||
            --username $REGISTRY_USERNAME \
 | 
			
		||||
            --password $REGISTRY_PASSWORD
 | 
			
		||||
      - |
 | 
			
		||||
          for chart in $(find charts -maxdepth 1 -mindepth 1 -type d); do
 | 
			
		||||
            helm package $chart -d chart-packages;
 | 
			
		||||
          done
 | 
			
		||||
      - |
 | 
			
		||||
          for chart in $(find chart-packages -maxdepth 1 -mindepth 1 -type f); do
 | 
			
		||||
            helm push $chart oci://git.badhouseplants.net/softplayer
 | 
			
		||||
            helm push $chart oci://$REGISTRY_URL/softplayer/helm
 | 
			
		||||
          done
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user