ci: fix ci pipeline

This commit is contained in:
Maxim Slipenko 2024-10-10 02:02:31 +03:00
parent 3018bd217f
commit bd3a897557
No known key found for this signature in database
GPG Key ID: 6DEA9FA7DE98C7D6

View File

@ -6,6 +6,8 @@ lint-pre-commit:
stage: lint stage: lint
image: python:3.12-bullseye image: python:3.12-bullseye
before_script: before_script:
- export PIP_CACHE_DIR=$(pwd)/.cache/pip
- export PRE_COMMIT_HOME=$(pwd)/.cache/pre-commit
- pip install pre-commit - pip install pre-commit
scripts: scripts:
- pre-commit run --all-files - pre-commit run --all-files
@ -27,17 +29,6 @@ lint-pre-commit:
docker push ${IMAGE_COMMIT} docker push ${IMAGE_COMMIT}
docker push ${IMAGE_BRANCH} docker push ${IMAGE_BRANCH}
build-altlinux:
stage: build
image: docker:27.1.2
variables:
CI_REGISTRY: registry.gitflic.ru
IMAGE_NAME: registry.gitflic.ru/project/alt-gnome/karkas/altlinux
KARKAS_PROJECT: altlinux
extends: .docker-dev-build-template
build-gnomik: build-gnomik:
stage: build stage: build
image: docker:27.1.2 image: docker:27.1.2