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

Commit 647b070

Browse files
committed
fix publish image
1 parent 1816918 commit 647b070

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/image-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ jobs:
5858
workflow: ".github/workflows/import_packages.yml"
5959
workflow_conclusion: success
6060
name: backup_weaviate
61-
path: weaviate_backup
6261
name_is_regexp: true
6362
skip_unpack: false
6463
if_no_artifact_found: ignore
64+
- name: Rename to accomodate to image
65+
run: mv ./backup_weaviate ./weaviate_backup
6566
- name: Build image
6667
id: image-build
6768
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v5

scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
if [ -d "$1" ] && [ -d "$1/$2" ]; then
55
echo "Restoring backup from $1/$2..."
66
# Your restore logic here, e.g., running a Python script or restoring a database
7-
python -m src.codegate.cli restore_backup "$1" "$2"
7+
python -m src.codegate.cli restore-backup --backup-path "$1" --backup-name "$2"
88
else
99
echo "No backup found at $1/$2. Skipping restore."
1010
fi

0 commit comments

Comments
 (0)