Fix incorrect image type in publish-to-docker workflow

This commit is contained in:
Yuan Tang 2025-01-17 22:59:42 -05:00 committed by GitHub
parent 3a9468ce9b
commit db4bf3369f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,9 +75,9 @@ jobs:
TEMPLATES=("ollama" "bedrock" "remote-vllm" "fireworks" "together" "tgi" "meta-reference-gpu")
for template in "${TEMPLATES[@]}"; do
if [ "$PYPI_SOURCE" = "testpypi" ]; then
TEST_PYPI_VERSION=${{ steps.version.outputs.version }} llama stack build --template $template --image-type docker
TEST_PYPI_VERSION=${{ steps.version.outputs.version }} llama stack build --template $template --image-type container
else
PYPI_VERSION=${{ steps.version.outputs.version }} llama stack build --template $template --image-type docker
PYPI_VERSION=${{ steps.version.outputs.version }} llama stack build --template $template --image-type container
fi
done