Merge branch 'revert-6e3d2b15' into 'dev'

Revert "Update .gitlab-ci.yml file"

See merge request illegitimate/illegitimate-bot!297
This commit is contained in:
2024-10-03 16:56:02 +00:00

View File

@@ -1,19 +1,18 @@
install:
image: node:21.7.3
before_script:
- corepack enable
- pnpm config set store-dir .pnpm-store
merge:
image: docker:cli
stage: test
services:
- docker:dind
variables:
DOCKER_IMAGE_NAME: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- pnpm install
cache:
key:
files:
- pnpm-lock.yaml
paths:
- .pnpm-store
- docker build -t "$DOCKER_IMAGE_NAME" .
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
build:
image: docker:cli
stage: build
services:
- docker:dind
variables:
@@ -27,5 +26,3 @@ build:
docker push "$CI_REGISTRY_IMAGE:main"
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
dependencies:
- install