Push stage images early
This commit is contained in:
		
							parent
							
								
									464208b39d
								
							
						
					
					
						commit
						36e87aa982
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -21,11 +21,15 @@ build-main: | ||||||
|       --build-arg BUILDKIT_INLINE_CACHE=1 --pull |       --build-arg BUILDKIT_INLINE_CACHE=1 --pull | ||||||
|       -t "$CI_REGISTRY_IMAGE:stage-src" |       -t "$CI_REGISTRY_IMAGE:stage-src" | ||||||
|       -t "$CI_REGISTRY_IMAGE:stage-src-branch-$CI_COMMIT_REF_SLUG" . |       -t "$CI_REGISTRY_IMAGE:stage-src-branch-$CI_COMMIT_REF_SLUG" . | ||||||
|  |     - docker push "$CI_REGISTRY_IMAGE:stage-src" | ||||||
|  |     - docker push "$CI_REGISTRY_IMAGE:stage-src-branch-$CI_COMMIT_REF_SLUG" | ||||||
|     - docker build --cache-from $CI_REGISTRY_IMAGE:stage-texlive-update |     - docker build --cache-from $CI_REGISTRY_IMAGE:stage-texlive-update | ||||||
|       --target texlive-update |       --target texlive-update | ||||||
|       --build-arg BUILDKIT_INLINE_CACHE=1 --pull |       --build-arg BUILDKIT_INLINE_CACHE=1 --pull | ||||||
|       -t "$CI_REGISTRY_IMAGE:stage-texlive-update" |       -t "$CI_REGISTRY_IMAGE:stage-texlive-update" | ||||||
|       -t "$CI_REGISTRY_IMAGE:stage-texlive-update-branch-$CI_COMMIT_REF_SLUG" . |       -t "$CI_REGISTRY_IMAGE:stage-texlive-update-branch-$CI_COMMIT_REF_SLUG" . | ||||||
|  |     - docker push "$CI_REGISTRY_IMAGE:stage-texlive-update" | ||||||
|  |     - docker push "$CI_REGISTRY_IMAGE:stage-texlive-update-branch-$CI_COMMIT_REF_SLUG" | ||||||
|     - docker build --cache-from $CI_REGISTRY_IMAGE |     - docker build --cache-from $CI_REGISTRY_IMAGE | ||||||
|       --target app --squash |       --target app --squash | ||||||
|       --build-arg BUILDKIT_INLINE_CACHE=1 --pull |       --build-arg BUILDKIT_INLINE_CACHE=1 --pull | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue