| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -36,6 +36,29 @@ jobs:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          push: true
 | 
					 | 
					 | 
					 | 
					          push: true
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }}
 | 
					 | 
					 | 
					 | 
					          tags: registry.local/rgbboard:${{ steps.short-sha.outputs.short-sha }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          platforms: linux/arm64
 | 
					 | 
					 | 
					 | 
					          platforms: linux/arm64
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      - name: Print Image ID
 | 
					 | 
					 | 
					 | 
					      - name: Checkout repository
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #run: echo "The image ID is: ${{ steps.short-sha.outputs.short-sha }}"
 | 
					 | 
					 | 
					 | 
					        uses: actions/checkout@v4
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        run: "test"
 | 
					 | 
					 | 
					 | 
					        with:
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          repo: https://gitea.wagshome.duckdns.org/wagshome/rgbboard.git
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          ref: master as  # or the branch you want to modify
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          token: ${{ secrets.runner_deploy }}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          path: repo
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      - name: Set up Git
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        run: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          git config --global user.name "Gitea Actions"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          git config --global user.email "actions@nope.com"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      - name: Install yq
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        uses: jtopjian/yq@v2.0.0
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      - name: Update values.yaml
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        run: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          yq e -i '.image.tag = "my-image:${{ steps.short_sha.outputs.short_sha }}"' rgbboard/rgbboard/values.yaml
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      - name: Commit and Push changes
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        run: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          cd repo
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          git add .
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          git commit -m "Update image to ${{ steps.short_sha.outputs.short_sha }}"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					          git push
 |