Used package.json for versioning
All checks were successful
Build a new image for the MycroForge docs / build (push) Has been skipped

This commit is contained in:
mdnapo 2024-10-19 13:59:01 +02:00
parent e2940941a8
commit 0da1ccd480
3 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ jobs:
- name: "Build and push Docker image"
run: |
IMAGE_NAME="git.devdisciples.com/devdisciples/m4gdocs"
IMAGE_VERSION="$(cat version.txt | tr -d '[:space:]')"
IMAGE_VERSION=$(npm pkg get version --workspaces=false | tr -d \")
VERSIONED_IMAGE_TAG="$IMAGE_NAME:$IMAGE_VERSION"
LATEST_IMAGE_TAG="$IMAGE_NAME:latest"

View File

@ -1,6 +1,6 @@
{
"name": "docs",
"version": "0.0.0",
"name": "m4gdocs",
"version": "0.0.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",

View File

@ -1 +0,0 @@
0.0.1