Skip to content

Commit

Permalink
CI: Add DroneCI for ARM/ARM64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
alinbalutoiu committed Nov 30, 2020
1 parent 868516f commit fb0ecd8
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
kind: pipeline
type: docker
name: linux-amd64

platform:
arch: amd64
os: linux

steps:
- name: publish
image: plugins/docker
settings:
repo: alinbalutoiu/argocd
tags: linux-amd64-${DRONE_BRANCH}
username:
from_secret: docker_username
password:
from_secret: docker_password

---
kind: pipeline
type: docker
name: linux-arm64

platform:
arch: arm64
os: linux

steps:
- name: publish
image: plugins/docker
settings:
repo: alinbalutoiu/argocd
tags: linux-arm64-${DRONE_BRANCH}
build_args:
- BUILD_ALL_CLIS="false"
username:
from_secret: docker_username
password:
from_secret: docker_password

---
kind: pipeline
type: docker
name: linux-arm

platform:
arch: arm
os: linux

steps:
- name: publish
image: plugins/docker
settings:
repo: alinbalutoiu/argocd
tags: linux-arm-${DRONE_BRANCH}
build_args:
- BUILD_ALL_CLIS="false"
username:
from_secret: docker_username
password:
from_secret: docker_password

---
kind: pipeline
type: docker
name: manifest

steps:
- name: publish
image: plugins/manifest
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
target: alinbalutoiu/argocd:${DRONE_BRANCH}
template: alinbalutoiu/argocd:OS-ARCH-${DRONE_BRANCH}
platforms:
- linux/amd64
- linux/arm
- linux/arm64

depends_on:
- linux-arm64
- linux-arm
- linux-amd64

0 comments on commit fb0ecd8

Please sign in to comment.