File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 2424 required : false
2525 type : string
2626 default : " 0.11.0"
27- # This can be removed once we have llama.cpp built for MUSA.
28- buildMusa :
29- description : ' Build MUSA image '
27+ # This can be removed once we have llama.cpp built for MUSA and CANN .
28+ buildMusaCann :
29+ description : ' Build MUSA and CANN images '
3030 required : false
3131 type : boolean
3232 default : false
8888 echo "docker/model-runner:latest-musa" >> "$GITHUB_OUTPUT"
8989 fi
9090 echo 'EOF' >> "$GITHUB_OUTPUT"
91+ echo "cann<<EOF" >> "$GITHUB_OUTPUT"
92+ echo "docker/model-runner:${{ inputs.releaseTag }}-cann" >> "$GITHUB_OUTPUT"
93+ if [ "${{ inputs.pushLatest }}" == "true" ]; then
94+ echo "docker/model-runner:latest-cann" >> "$GITHUB_OUTPUT"
95+ fi
96+ echo 'EOF' >> "$GITHUB_OUTPUT"
9197
9298 - name : Log in to DockerHub
9399 uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
@@ -165,7 +171,7 @@ jobs:
165171 tags : ${{ steps.tags.outputs.rocm }}
166172
167173 - name : Build MUSA image
168- if : ${{ inputs.buildMusa }}
174+ if : ${{ inputs.buildMusaCann }}
169175 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
170176 with :
171177 file : Dockerfile
@@ -181,6 +187,7 @@ jobs:
181187 tags : ${{ steps.tags.outputs.musa }}
182188
183189 - name : Build CANN image
190+ if : ${{ inputs.buildMusaCann }}
184191 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
185192 with :
186193 file : Dockerfile
You can’t perform that action at this time.
0 commit comments