Browse Source

update ci

Signed-off-by: shanghaikid <jiangruiyi@gmail.com>
shanghaikid 1 year ago
parent
commit
4e8e968879
1 changed files with 20 additions and 0 deletions
  1. 20 0
      .github/workflows/ci.yml

+ 20 - 0
.github/workflows/ci.yml

@@ -0,0 +1,20 @@
+name: Attu docker build test
+
+on:
+  pull_request:
+    branches:
+      - main
+    types: [opened, synchronize]
+
+jobs:
+  publish:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup Node.js
+        uses: actions/setup-node@v3
+        with:
+          node-version: 18
+
+      - name: Docker Build
+        run: docker build -t zilliz/attu:${GITHUB_REF#refs/tags/} --build-arg VERSION=${GITHUB_REF#refs/tags/} .