Sync paths with CI pipeline due to dockerignore#
As the docker ignore file includes the target dir, content in this dir is no accessible to the docker daemon. We circumvent this by providing the build artifact in a dir called cached_dir
This commit is contained in:
		
							parent
							
								
									fb9880fee9
								
							
						
					
					
						commit
						aa7b6b6e09
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT | |||
| ARG SCCACHE_S3_USE_SSL | ||||
| 
 | ||||
| COPY . . | ||||
| RUN test -e target/release/conduit || cargo build --release --offline | ||||
| RUN test -e cached_target/release/conduit || cargo build --release | ||||
| 
 | ||||
| FROM valkum/docker-rust-ci:latest | ||||
| WORKDIR /workdir | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue