workflows - defs support

This commit is contained in:
Jan Prochazka
2024-12-30 07:05:25 +01:00
parent f7b39fca26
commit 70083bd870
3 changed files with 216 additions and 9 deletions

View File

@@ -3,14 +3,14 @@ _templates:
file: build-docker.yaml
string-replace:
"<<cd_merged>>": ''
"<<name>>": community
"<<adjust>>": '--community'
_premium:
file: build-docker-pro.yaml
string-replace:
"<<cd_merged>>": |
cd ..
cd dbgate-merged
"<<name>>": premium
"<<adjust>>": '--premium'
name:
_community: Docker image Community
@@ -81,7 +81,7 @@ jobs:
- name: adjustPackageJson
run: |
<<cd_merged>>
node adjustPackageJson --<<name>>
node adjustPackageJson <<adjust>>
- name: yarn install
run: |