From f86b49a50901ca8ff7d4593632a2fc02303174a0 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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.drone.yml b/.drone.yml index ceb6c24470..a62882f41e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,6 +27,18 @@ 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 + repo: longhornio/longhorn-manager-test + when: + event: + - pull_request + - name: "publish longhorn-manager-test image" image: plugins/docker settings: @@ -95,6 +107,18 @@ 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 + repo: longhornio/longhorn-manager-test + when: + event: + - pull_request + - name: "publish longhorn-manager-test image" image: plugins/docker settings: