-
Notifications
You must be signed in to change notification settings - Fork 884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CICD] Github workflow for publishing Docker images #764
Conversation
@@ -82,13 +82,17 @@ fi | |||
# Add pip dependencies first since llama-stack is what will change most often | |||
# so we can reuse layers. | |||
if [ -n "$pip_dependencies" ]; then | |||
add_to_docker "RUN pip install --no-cache $pip_dependencies" | |||
add_to_docker << EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to add these EOF to make these be added to Dockerfile when running script in non-terminal environment.
❤️ ❤️ ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amazing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
id: version | ||
run: | | ||
if [ "${{ github.event_name }}" = "push" ]; then | ||
echo "VERSION=0.0.63.dev20250114" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is hardcoded?
docker push llamastack/distribution-$template:test-${{ steps.version.outputs.version }} | ||
else | ||
docker tag distribution-$template:${{ steps.version.outputs.version }} llamastack/distribution-$template:${{ steps.version.outputs.version }} | ||
docker push llamastack/distribution-$template:${{ steps.version.outputs.version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we also need to tag a latest
tag for the non-nightlies
What does this PR do?
Notes
Additional Changes
Test Plan
Sources
Please link relevant resources if necessary.
Before submitting
Pull Request section?