Updated product page, trying to fix tina vars

This commit is contained in:
Hamza Ahmed
2023-11-16 16:36:44 +00:00
parent d6cbde3e8e
commit 867985be61
14 changed files with 321 additions and 101 deletions
+4 -2
View File
@@ -9,8 +9,10 @@ variables:
# Major - Shouldn't change often, Big changes to the site
# Minor - starts from 0 when Major is incremented +1 for each version that goes public
# Release - For each time a development milestone is reached
VERSION: 1.1.0
VERSION: 1.1.1
IMAGE_TAG: $CI_REGISTRY_IMAGE:$VERSION
# Grab Variables for TINA CMS
TINA_CID: $TINA_CID
TINA_TOKEN: $TINA_TOKEN
services:
@@ -21,6 +23,6 @@ build:
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker buildx create --use
- docker buildx build --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push .
- docker buildx build --build-arg TINA_CID=${TINA_CID} --build-arg TINA_TOKEN={$TINA_TOKEN} --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push .
rules:
- if: $CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "staging") && $BUILD == "1"