mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 00:04:30 +00:00
test
This commit is contained in:
parent
4747c844a2
commit
d97bcaf625
3 changed files with 41 additions and 5 deletions
30
.github/workflows/publish-to-docker.yml
vendored
Normal file
30
.github/workflows/publish-to-docker.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Docker Build and Publish
|
||||
|
||||
on:
|
||||
push
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Custom build docker image
|
||||
run: |
|
||||
pip install --no-cache --index-url https://pypi.org/simple/ --extra-index-url https://test.pypi.org/simple/ llama-stack==0.0.63.dev20250114
|
||||
TESTPYPI_VERSION=0.0.63.dev20250114 llama stack build --template ollama --image-type docker
|
||||
docker images
|
||||
Loading…
Add table
Add a link
Reference in a new issue