File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 7777          echo "IMAGE_NAME=${{ vars.QUAY_RELEASE_REPO }}" >> $GITHUB_ENV 
7878# 
7979      #  Run docker commands
80-       - name : Pull prerequisite images 
81-         run : | 
82-           BASE_IMAGES=$(grep -o -P '(?<=FROM ).*' Dockerfile | cut -d ' ' -f1) 
83- 
84-           if [ -n "$BASE_IMAGES" ]; then 
85-             for img in $BASE_IMAGES; do 
86-               docker pull "$img" 
87-             done 
88-           fi 
8980      - name : Put expiry date on CI-tagged image 
9081        if :  env.BUILD_CONTEXT == 'ci' 
9182        run : sed -i 's#summary="odh-trustyai-service-python\"#summary="odh-trustyai-service-python" \\ \n      quay.expires-after=7d#' Dockerfile 
@@ -126,13 +117,15 @@ jobs:
126117      #  Leave comment
127118      - uses : peter-evans/find-comment@v3 
128119        name : Find Comment 
120+         if : env.BUILD_CONTEXT == 'ci' 
129121        id : fc 
130122        with :
131123          issue-number : ${{ github.event.pull_request.number }} 
132124          comment-author : ' github-actions[bot]' 
133125          body-includes :  PR image build and manifest generation completed successfully 
134126      - uses : peter-evans/create-or-update-comment@v4 
135127        name : Generate/update success message comment 
128+         if : env.BUILD_CONTEXT == 'ci' 
136129        with :
137130          comment-id : ${{ steps.fc.outputs.comment-id }} 
138131          issue-number : ${{ github.event.pull_request.number }} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments