Skip to content
Snippets Groups Projects
Commit 727ca847 authored by git's avatar git
Browse files

fix image

parent c6866688
No related branches found
No related tags found
No related merge requests found
Pipeline #177205 passed
...@@ -5,6 +5,17 @@ image: ...@@ -5,6 +5,17 @@ image:
before_script: before_script:
- mkdir -p /kaniko/.docker - mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
build:
stage: build
script:
- /kaniko/executor
--snapshotMode=redo
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/server-ce/Dockerfile-base
--destination "$CI_REGISTRY_IMAGE/base:$CI_COMMIT_REF_SLUG"
--destination "$CI_REGISTRY_IMAGE/base:latest"
only:
- main
build: build:
stage: build stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment