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 authored and innobead committed Mar 4, 2024
1 parent 47712cb commit c6e8279
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c6e8279

Please sign in to comment.