✨ (CI/CD) Use intellij-idea-pkg-image Docker base image
This commit is contained in:
parent
9611dde0f7
commit
e9e9cc98b6
1 changed files with 2 additions and 10 deletions
|
@ -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 -
|
||||
|
|
Loading…
Reference in a new issue