feature/devops #1
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
# Calculate additional tags based on branch
|
# Calculate additional tags based on branch
|
||||||
if [ "${{ gitea.ref_name }}" = 'main' ]; then
|
if [ "${{ gitea.ref_name }}" = 'main' ]; then
|
||||||
VERSION=$(node -p -e "require('./package.json').version)
|
VERSION=$(node -p -e "require('./package.json').version")
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user