From e9e9cc98b63ecf74c4442e9918e304573e7fa2fb Mon Sep 17 00:00:00 2001 From: autoupdate Date: Thu, 27 Jul 2023 18:10:19 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(CI/CD)=20Use=20intellij-idea-pkg-i?= =?UTF-8?q?mage=20Docker=20base=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8405411..638129b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,9 @@ default: - image: ubuntu:lunar + image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:lunar variables: PACKAGE: "intellij-idea-community" TZ: UTC - DEBIAN_FRONTEND: noninteractive NAME: "Marcel Kapfer" EMAIL: "opensource@mmk2410.org" @@ -16,11 +15,6 @@ stages: update-job: stage: autoupdate script: - ## - ## Install necessary packages. - ## - - apt update && apt install -y git devscripts debhelper libxml2-utils openssh-client - ## ## Configure SSH key ## @@ -49,7 +43,6 @@ update-job: build-job: stage: build script: - - apt update && apt install -y git devscripts debhelper - export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2) - cd "$PACKAGE"_"$VERSION" || exit - debuild -us -uc @@ -62,10 +55,9 @@ build-job: - if: $CI_COMMIT_TAG deploy-job: - image: ubuntu:$UBUNTU_VERSION + image: registry.gitlab.com/mmk2410/intellij-idea-pkg-image:$UBUNTU_VERSION stage: deploy script: - - apt update && apt install -y git devscripts debhelper gnupg - export VERSION=$(git describe --abbrev=0 --tags | cut -d'v' -f2) - echo "$GPG_PRIVATE_KEY" | tr -d '\r' | gpg --import - - echo "$GPG_PUBLIC_KEY" | tr -d '\r' | gpg --import -