From 0b943c56c4c958c33a65212a629c4d03ce5ebce5 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Thu, 4 Apr 2024 03:38:31 +0200 Subject: [PATCH] Updated build. Signed-off-by: Pavel Kirilin <win10@list.ru> --- .gitlab-ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04c01d0..ca0beb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,17 +43,16 @@ fmt: build: stage: build image: - name: alpine:3.18 + name: docker:26.0.0-cli entrypoint: [""] tags: - kube only: - master script: - - apk add --no-cache img - - img login --password "$CI_JOB_TOKEN" --username "$CI_REGISTRY_USER" "$CI_REGISTRY" - - img build --no-console -t "$CI_REGISTRY/telegram-bots/s3bot:latest" . - - img push "$CI_REGISTRY/telegram-bots/s3bot:latest" + - docker login --password "$CI_JOB_TOKEN" --username "$CI_REGISTRY_USER" "$CI_REGISTRY" + - docker build --progress=plain -t "$CI_REGISTRY/telegram-bots/s3bot:latest" . + - docker push "$CI_REGISTRY/telegram-bots/s3bot:latest" deploy: stage: deploy -- GitLab