From 0455769ec3a52fa40cedcaf1dea884708d2ce764 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Tue, 27 Feb 2024 14:41:52 +0800 Subject: [PATCH] ci: build image in pr check Signed-off-by: Yang Chiu --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.drone.yml b/.drone.yml index ceb6c24470..272627fe4d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,6 +27,17 @@ steps: - name: socket path: /var/run/docker.sock +- name: "build image" + image: plugins/docker + settings: + dry_run: true + build_args: + - ARCH=amd64 + dockerfile: manager/integration/Dockerfile + when: + event: + - pull_request + - name: "publish longhorn-manager-test image" image: plugins/docker settings: @@ -95,6 +106,17 @@ steps: - name: socket path: /var/run/docker.sock +- name: "build image" + image: plugins/docker + settings: + dry_run: true + build_args: + - ARCH=arm64 + dockerfile: manager/integration/Dockerfile + when: + event: + - pull_request + - name: "publish longhorn-manager-test image" image: plugins/docker settings: