File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ localhost/kafka:3.4.1-stackable0.0.0-dev-amd64
4747- ` build-cache-username ` (required) <!-- TODO: make the cache optional -->
4848- ` build-cache-password ` (required) <!-- TODO: make the cache optional -->
4949- ` bake-config-file ` (defaults to ` ./conf.py ` )
50+ - ` sdp-version ` (defaults to: ` 0.0.0-dev ` )
5051
5152### Outputs
5253
Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ inputs:
2020 bake-config-file :
2121 description : Path to the bake config file, defaults to `./conf.py`
2222 default : ./conf.py
23+ sdp-version :
24+ description : |
25+ Stackable Data Platform version (eg: `24.7.0`)
26+ default : 0.0.0-dev
2327outputs :
2428 image-manifest-tag :
2529 description : |
5761 BAKE_PRODUCT_VERSION : ${{ inputs.product-version }}
5862 BAKE_CONFIG_FILE : ${{ inputs.bake-config-file }}
5963 IMAGE_REPOSITORY : ${{ inputs.product-name }}
64+ SDP_VERSION : ${{ inputs.sdp-version }}
6065 shell : bash
6166 run : |
6267 set -euo pipefail
6570 echo "::group::bake"
6671 bake \
6772 --product "$IMAGE_REPOSITORY=$BAKE_PRODUCT_VERSION" \
68- --image-version "0.0.0-dev -${IMAGE_ARCH}" \
73+ --image-version "${SDP_VERSION} -${IMAGE_ARCH}" \
6974 --architecture "linux/${IMAGE_ARCH}" \
7075 --export-tags-file bake-target-tags \
7176 --configuration "$BAKE_CONFIG_FILE" \
You can’t perform that action at this time.
0 commit comments