Skip to content
Snippets Groups Projects
Commit bbfd2e78 authored by Alen Zubic's avatar Alen Zubic
Browse files

feat: Add semantic release

parent b2425007
No related branches found
No related tags found
No related merge requests found
Pipeline #126951 failed
This commit is part of merge request !45. Comments created here will be created in the context of that merge request.
variables:
CONTAINER_IMAGE: "graphpolaris/frontend"
IMAGE_TAG_HELM_FILE: "helm/staging/graphpolaris-frontend/values.yaml"
IMAGE_TAG_HELM_FILE_VARIABLE: "image.tag"
#variables:
# CONTAINER_IMAGE: "graphpolaris/frontend"
# IMAGE_TAG_HELM_FILE: "helm/staging/graphpolaris-frontend/values.yaml"
# IMAGE_TAG_HELM_FILE_VARIABLE: "image.tag"
#
#include:
# - project: 'graphpolaris/pipelines'
# ref: main
# file: 'docker-build-push.yml'
include:
- project: 'graphpolaris/pipelines'
ref: main
file: 'docker-build-push.yml'
stages:
- release
release:
image: node:20-bookworm-slim
stage: release
tags:
- gp-runners
before_script:
- apt-get update && apt-get install -y --no-install-recommends git-core ca-certificates
- npm install -g semantic-release@21.1.1
script:
- semantic-release
# rules:
# - if: $CI_COMMIT_BRANCH == "master"
.releaserc 0 → 100644
{
"branches": ["feat/add-semantic-release"],
"dryRun": true,
"extends": "@semantic-release/gitlab-config"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment