From 80522347c18c679cf3867f94e95f8a9546912497 Mon Sep 17 00:00:00 2001 From: yyvf <yyvf@pm.me> Date: Sun, 30 Mar 2025 14:11:32 -0300 Subject: [PATCH] ci: test --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb605fb..0f7191e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,20 +5,19 @@ stages: build: stage: build image: - name: gcr.io/kaniko-project/executor:v1.23.2-debug + name: gcr.io/kaniko-project/executor:debug entrypoint: [""] script: - - mkdir -p /kaniko/.docker - - echo "{\"auths\":{\"${HARBOR_HOST}\":{\"auth\":\"$(echo -n ${HARBOR_USERNAME}:${HARBOR_PASSWORD} | base64 -w 0)\"}}}" > /kaniko/.docker/config.json - - /kaniko/executor + - >- + /kaniko/executor + --context "${CI_PROJECT_DIR}" + --dockerfile "${CI_PROJECT_DIR}/Dockerfile" + --destination "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}" --single-snapshot --snapshot-mode=redo --use-new-run --cache=true --compressed-caching=true - --context "${CI_PROJECT_DIR}" - --destination "${HARBOR_HOST}/${HARBOR_PROJECT}/${CI_PROJECT_NAME}:${CI_COMMIT_TAG}" - --dockerfile "${CI_PROJECT_DIR}/Dockerfile" deploy: stage: deploy -- GitLab