Skip to content
Snippets Groups Projects
Verified Commit 36e87aa9 authored by David Mehren's avatar David Mehren
Browse files

Push stage images early

parent 464208b3
No related branches found
No related tags found
No related merge requests found
Pipeline #26753 canceled
......@@ -21,11 +21,15 @@ build-main:
--build-arg BUILDKIT_INLINE_CACHE=1 --pull
-t "$CI_REGISTRY_IMAGE:stage-src"
-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
--target texlive-update
--build-arg BUILDKIT_INLINE_CACHE=1 --pull
-t "$CI_REGISTRY_IMAGE:stage-texlive-update"
-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
--target app --squash
--build-arg BUILDKIT_INLINE_CACHE=1 --pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment