Skip to content

Commit

Permalink
ci: add .drone.yml
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <[email protected]>
  • Loading branch information
FrankYang0529 committed Feb 29, 2024
1 parent 25f1b5b commit 43613e4
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
kind: pipeline
name: default-amd64

platform:
os: linux
arch: amd64

trigger:
branch:
- main

steps:
- name: fetch
image: ubuntu:22.04
commands:
- apt-get update
- apt-get install -y git
- git fetch --tags

- name: build
pull: default
image: rancher/dapper:v0.5.3
commands:
- dapper ci
volumes:
- name: socket
path: /var/run/docker.sock

volumes:
- name: socket
host:
path: /var/run/docker.sock

---
kind: pipeline
name: default-arm64

platform:
os: linux
arch: arm64

trigger:
branch:
- main

steps:
- name: fetch
image: ubuntu:22.04
commands:
- apt-get update
- apt-get install -y git
- git fetch --tags

- name: build
pull: default
image: rancher/dapper:v0.5.3
commands:
- dapper ci
volumes:
- name: socket
path: /var/run/docker.sock

volumes:
- name: socket
host:
path: /var/run/docker.sock

0 comments on commit 43613e4

Please sign in to comment.