mirror of
				https://github.com/linuxserver/docker-heimdall.git
				synced 2025-11-04 06:52:33 +09:00 
			
		
		
		
	Bot Updating Templated Files
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/external_trigger.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/external_trigger.yml
									
									
									
									
										vendored
									
									
								
							@@ -48,8 +48,12 @@ jobs:
 | 
				
			|||||||
              | jq -r '.config.digest')
 | 
					              | jq -r '.config.digest')
 | 
				
			||||||
          image_info=$(curl -sL \
 | 
					          image_info=$(curl -sL \
 | 
				
			||||||
            --header "Authorization: Bearer ${token}" \
 | 
					            --header "Authorization: Bearer ${token}" \
 | 
				
			||||||
            "https://ghcr.io/v2/${image}/blobs/${digest}" \
 | 
					            "https://ghcr.io/v2/${image}/blobs/${digest}")
 | 
				
			||||||
            | jq -r '.container_config')
 | 
					          if [[ $(echo $image_info | jq -r '.container_config') == "null" ]]; then
 | 
				
			||||||
 | 
					            image_info=$(echo $image_info | jq -r '.config')
 | 
				
			||||||
 | 
					          else
 | 
				
			||||||
 | 
					            image_info=$(echo $image_info | jq -r '.container_config')
 | 
				
			||||||
 | 
					          fi
 | 
				
			||||||
          IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
 | 
					          IMAGE_RELEASE=$(echo ${image_info} | jq -r '.Labels.build_version' | awk '{print $3}')
 | 
				
			||||||
          IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
 | 
					          IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-ls' '{print $1}')
 | 
				
			||||||
          if [ -z "${IMAGE_VERSION}" ]; then
 | 
					          if [ -z "${IMAGE_VERSION}" ]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user