From b5bfa7aa289fc4a098f73869e8125ae8162cc0ce Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Tue, 12 Sep 2023 21:41:19 +0400 Subject: [PATCH] Updated CI. Signed-off-by: Pavel Kirilin <win10@list.ru> --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2fc2f6..063fe33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,10 +52,11 @@ build_img: - "Cargo.toml" - "Cargo.lock" image: - name: r.j3ss.co/img + name: alpine:3.18 entrypoint: [""] script: + - apk add --no-cache img - img login --password "${DOCKER_PASSWORD}" --username "${DOCKER_USER}" "${DOCKER_REGISTRY}" - img build --no-console -t docker.le-memese.com/bots/s3bot:latest . - img push docker.le-memese.com/bots/s3bot:latest -- GitLab