Skip to content

Commit

Permalink
Add kuzudb version number to image
Browse files Browse the repository at this point in the history
  • Loading branch information
mewim committed Mar 11, 2024
1 parent c693caa commit e0b72eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
run: npm run fetch-datasets
- name: Prebuild - cleanup
run: rm -rf node_modules
- name: Prebuild - get version
shell: bash
run: |
VERSION=$(node -e 'fs=require("fs");console.log(JSON.parse(fs.readFileSync("package.json")).dependencies.kuzu)')
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -47,7 +52,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: kuzudb/explorer:latest
tags: kuzudb/explorer:latest, kuzudb/explorer:${{ env.VERSION }}
build-args: |
SKIP_GRAMMAR=true
SKIP_BUILD_APP=true
Expand Down

0 comments on commit e0b72eb

Please sign in to comment.