File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name : CI 
22on :
3-   pull_request :
3+   #   pull_request:
44  push :
55    branches :
66      - main 
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Docker Hub
33#  Currently, we publish every commit to main into Docker hub.
44#  In the future, we may to trigger off of actual release tags.
55on :
6+   pull_request :
67  push :
78    branches :
89      - main 
@@ -12,21 +13,25 @@ jobs:
1213    name : Build and push image 
1314    runs-on : ubuntu-latest 
1415    steps :
16+       - uses : actions/checkout@v4 
17+ 
1518      - name : Set up Docker Buildx 
1619        uses : docker/setup-buildx-action@v3 
1720
1821      - name : Grab version 
19-         run : echo "ETL_VERSION=$(grep __version__ cumulus_etl/__init__.py | cut -d'"' -f2)" >> $GITHUB_ENV 
22+         run : | 
23+           ls 
24+           echo "ETL_VERSION=$(grep __version__ cumulus_etl/__init__.py | cut -d'"' -f2)" >> $GITHUB_ENV 
2025
2126       - name : Get Docker metadata 
2227        id : meta 
2328        uses : docker/metadata-action@v5 
2429        with :
25-           flavor : latest=true  
30+           flavor : latest=false    #  MIKE 
2631          images : smartonfhir/cumulus-etl 
2732          tags : | 
2833            type=ref,event=branch 
29-             type=pep440,pattern={{major}},value=${{ ETL_VERSION }} 
34+             type=pep440,pattern={{major}},value=${{ env. ETL_VERSION }} 
3035
3136       - name : Log in to Docker Hub 
3237        uses : docker/login-action@v3 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments