Skip to content
Snippets Groups Projects
Commit 3b70a0e6 authored by libnewton's avatar libnewton
Browse files

fix ci

parent d79168b8
No related branches found
No related tags found
1 merge request!1chore: sync upstream
Pipeline #210480 failed
......@@ -69,3 +69,25 @@ docker_main:
- docker push ${CI_REGISTRY_IMAGE}:latest
rules:
- if: $CI_COMMIT_BRANCH == "main"
build_git_two:
stage: build
script:
- /kaniko/executor
--snapshotMode=redo
--context $CI_PROJECT_DIR/gitsync
--dockerfile $CI_PROJECT_DIR/gitsync/Dockerfile
--destination registry.gitlab.fachschaften.org/newton/overleaf-delta/gitsync:latest
--destination registry.gitlab.fachschaften.org/newton/overleaf-delta/gitsync:$CI_COMMIT_REF_SLUG
only:
- main
build_git:
stage: build
script:
- /kaniko/executor
--snapshotMode=redo
--context $CI_PROJECT_DIR/gitsync
--dockerfile $CI_PROJECT_DIR/gitsync/Dockerfile
--destination registry.gitlab.fachschaften.org/newton/overleaf-delta/gitsync:beta
--destination registry.gitlab.fachschaften.org/newton/overleaf-delta/gitsync:$CI_COMMIT_REF_SLUG
only:
- beta
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment