From c3b589d2ca28e43a9f1a1adb76c28a7490cd8e32 Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Sun, 29 Sep 2024 17:35:44 +0800 Subject: [PATCH] fix: fails of building learning image (#4273) --- .github/workflows/build-graphscope-images-linux.yml | 1 - k8s/dockerfiles/learning.Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-graphscope-images-linux.yml b/.github/workflows/build-graphscope-images-linux.yml index dd90bd185c70..a504a0c82312 100644 --- a/.github/workflows/build-graphscope-images-linux.yml +++ b/.github/workflows/build-graphscope-images-linux.yml @@ -31,7 +31,6 @@ env: jobs: build-image-x86-64: - if: (github.ref == 'refs/heads/main' && github.repository == 'alibaba/GraphScope') || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'alibaba/GraphScope') || (github.pull_request == 'pull_request') || (github.event_name == 'workflow_dispatch') runs-on: ubuntu-20.04 steps: diff --git a/k8s/dockerfiles/learning.Dockerfile b/k8s/dockerfiles/learning.Dockerfile index 21c019d2f524..34d08e7b9aaf 100644 --- a/k8s/dockerfiles/learning.Dockerfile +++ b/k8s/dockerfiles/learning.Dockerfile @@ -3,7 +3,7 @@ ARG ARCH=amd64 ARG REGISTRY=registry.cn-hongkong.aliyuncs.com ARG VINEYARD_VERSION=latest -FROM $REGISTRY/graphscope/graphscope-dev:$VINEYARD_VERSION AS builder +FROM $REGISTRY/graphscope/graphscope-dev:$VINEYARD_VERSION-$ARCH AS builder ARG CI=false