Another fix for retrieval of version number from package.json
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 12s
Some checks failed
Build and Publish Docker Image / build_and_push (push) Failing after 12s
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
|||||||
TAGS+=",git.3t.network/3t.network/ButlerBot:latest"
|
TAGS+=",git.3t.network/3t.network/ButlerBot:latest"
|
||||||
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
|
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
|
||||||
elif [ "${{ gitea.ref_name }}" = 'develop' ]; then
|
elif [ "${{ gitea.ref_name }}" = 'develop' ]; then
|
||||||
VERSION=$(node -p -e "require('./package.json').version)-dev
|
VERSION=$(node -p -e "require('./package.json').version")-dev
|
||||||
TAGS+=",git.3t.network/3t.network/ButlerBot:dev"
|
TAGS+=",git.3t.network/3t.network/ButlerBot:dev"
|
||||||
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
|
TAGS+=",git.3t.network/3t.network/ButlerBot:$VERSION"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user