Skip to content

Commit

Permalink
Updating ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaland committed Oct 19, 2024
1 parent eaa6aaf commit c32ccdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ jobs:
curl -L https://huggingface.co/nomic-ai/nomic-embed-text-v1/resolve/main/onnx/model_quantized.onnx?download=true --output src/main/resources/embeddings/nomic/model.onnx
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: 'Tar files'
run: tar -cvf target.tar target
- name: Archive target folder
uses: actions/upload-artifact@v4
with:
name: target
path: target.tar
path: target
include-hidden-files: true
retention-days: 1

Expand All @@ -54,15 +52,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Download node modules
- name: Download target folder
uses: actions/download-artifact@v4
with:
name: target
path: target.tar
path: target

- name: 'Untar files'
run: tar -xvf target.tar -C target

- name: Login to Docker Registry
uses: docker/login-action@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ nb-configuration.xml
# Prevent Model Checkin
*.onnx

local
local
src/main/resources/application-local.properties

0 comments on commit c32ccdf

Please sign in to comment.