Add GHA for Docker digest
This commit is contained in:
		
							parent
							
								
									eff2e00524
								
							
						
					
					
						commit
						389bd3480a
					
				
							
								
								
									
										27
									
								
								.github/workflows/get_image_digest.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/get_image_digest.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,27 @@
 | 
			
		||||
name: 'Print images digest'
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
    inputs:
 | 
			
		||||
      version:
 | 
			
		||||
        description: 'Image Version'
 | 
			
		||||
        required: false
 | 
			
		||||
        default: 'latest'
 | 
			
		||||
        type: string 
 | 
			
		||||
jobs:
 | 
			
		||||
  print-images-sha:
 | 
			
		||||
    runs-on: 'ubuntu-latest'
 | 
			
		||||
    name: Print digest for images
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: digest
 | 
			
		||||
 | 
			
		||||
      - name: Run script
 | 
			
		||||
        working-directory: digest
 | 
			
		||||
        run: |
 | 
			
		||||
          sh ./docker/scripts/get_image_digest.sh $VERSION
 | 
			
		||||
        env: 
 | 
			
		||||
          VERSION: ${{ github.event.inputs.version }}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user