Skip to content

Commit

Permalink
ci: build image in pr check
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Chiu <[email protected]>
  • Loading branch information
yangchiu committed Feb 27, 2024
1 parent 4a3ac3c commit 0455769
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0455769

Please sign in to comment.