mirror of
				https://github.com/b4tman/docker-squid.git
				synced 2025-11-04 11:08:29 +00:00 
			
		
		
		
	use submodule
This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/dockerimage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/dockerimage.yml
									
									
									
									
										vendored
									
									
								
							@@ -19,6 +19,13 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    
 | 
			
		||||
    - name: Checkout submodules
 | 
			
		||||
      shell: bash
 | 
			
		||||
      run: |
 | 
			
		||||
        auth_header="$(git config --local --get http.https://github.com/.extraheader)"
 | 
			
		||||
        git submodule sync --recursive
 | 
			
		||||
        git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
 | 
			
		||||
    
 | 
			
		||||
    - name: Build squid image
 | 
			
		||||
      run: docker build . --file Dockerfile --tag b4tman/squid
 | 
			
		||||
    
 | 
			
		||||
@@ -35,6 +42,13 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    
 | 
			
		||||
    - name: Checkout submodules
 | 
			
		||||
      shell: bash
 | 
			
		||||
      run: |
 | 
			
		||||
        auth_header="$(git config --local --get http.https://github.com/.extraheader)"
 | 
			
		||||
        git submodule sync --recursive
 | 
			
		||||
        git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
 | 
			
		||||
    
 | 
			
		||||
    - name: Build squid image
 | 
			
		||||
      run: docker build . --file Dockerfile --tag b4tman/squid
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user