File tree Expand file tree Collapse file tree 3 files changed +30
-66
lines changed Expand file tree Collapse file tree 3 files changed +30
-66
lines changed Original file line number Diff line number Diff line change 1+ #  docker continuous delivery
2+ #  build docker images and push to configured repo, with tags to match branches and git tags
3+ ---
4+ name : Build & Deliver 
5+ on : [push] 
6+ jobs :
7+   build :
8+     runs-on : ubuntu-latest 
9+     steps :
10+       - name : Checkout git commit 
11+         uses : actions/checkout@main 
12+ 
13+       - name : Publish server images to GitHub Container Registry 
14+         #  TODO: pin to hash
15+         uses : elgohr/Publish-Docker-Github-Action@main 
16+         with :
17+           name : ${{ github.repository }}-server 
18+           registry : ghcr.io 
19+ 
20+           #  GitHub actor
21+           username : ${{ github.actor }} 
22+ 
23+           #  GitHub access token
24+           password : ${{ secrets.GITHUB_TOKEN }} 
25+ 
26+           #  create docker image tags to match git tags
27+           tag_names : true 
28+ 
29+           #  build Dockerfile in server/ service directory
30+           workdir : server 
  Load Diff This file was deleted. 
  Load Diff This file was deleted. 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments