CI updates for Leafcutter

This commit is contained in:
Darren Clarke 2023-03-31 09:04:24 +02:00
parent ae527fdcf3
commit 720a96af97
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
apiVersion: v2
name: leafcutter-web
name: leafcutter
description: A Helm chart for Kubernetes
type: application
version: 0.1.53
appVersion: "0.1.53"
version: 0.1.54
appVersion: "0.1.54"

View file

@ -1,7 +1,7 @@
replicaCount: 1
image:
repository: registry.gitlab.com/digiresilience/leafcutter/leafcutter-web
repository: registry.gitlab.com/digiresilience/link/link-stack
pullPolicy: IfNotPresent
tag: "main"

View file

@ -1,7 +1,7 @@
import { FC, createContext, useContext, useReducer, useState } from "react";
import { colors, typography } from "styles/theme";
const basePath = process.env.GITLAB_CI ? "/leafcutter/leafcutter-web" : "";
const basePath = process.env.GITLAB_CI ? "/link/link-stack/apps/leafcutter" : "";
const imageURL = (image: any) =>
typeof image === "string" ? `${basePath}${image}` : `${basePath}${image.src}`;