diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04c01d0cee6eb8159b59918b9d941c226d5bddaf..ca0beb30908a2cff813f7cc310df2462b3b6a61f 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