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