Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 47d31ab

Browse files
authored
Update image-publish.yml
1 parent 9990184 commit 47d31ab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/image-publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ jobs:
5050
latest=true
5151
tags: |
5252
type=raw,value=${{ steps.version-string.outputs.tag }}
53+
- name: Download artifact
54+
id: download-artifact
55+
uses: dawidd6/action-download-artifact@v7
56+
with:
57+
github_token: ${{ github.token }}
58+
workflow: ".github/workflows/import_packages.yml"
59+
workflow_conclusion: success
60+
name: weaviate_data
61+
name_is_regexp: true
62+
skip_unpack: false
63+
if_no_artifact_found: ignore
5364
- name: Build image for Linux
5465
id: image-build-linux
5566
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v5
@@ -62,3 +73,5 @@ jobs:
6273
labels: ${{ steps.docker-metadata.outputs.labels }}
6374
cache-from: type=gha
6475
cache-to: type=gha,mode=max
76+
build-args: |
77+
${{ steps.download-artifact.outputs.download-path && format('WEAVIATE_DATA_PATH={}', steps.download-artifact.outputs.download-path) || '' }}

0 commit comments

Comments
 (0)