mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
run docker amd64 builds on drone, attempt multiarch
This commit is contained in:
parent
06dada297b
commit
3a9e4950d4
92
.drone.yml
92
.drone.yml
@ -22,12 +22,32 @@ steps:
|
||||
when:
|
||||
event: tag
|
||||
---
|
||||
name: arm64-docker
|
||||
name: amd64-docker
|
||||
kind: pipeline
|
||||
type: docker
|
||||
steps:
|
||||
- name: fetch
|
||||
image: docker:git
|
||||
commands:
|
||||
- git fetch --tags
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: hrfee
|
||||
password:
|
||||
from_secret: docker_key
|
||||
repo: hrfee/jfa-go
|
||||
tags: manifest-latest-amd64
|
||||
when:
|
||||
event: tag
|
||||
|
||||
---
|
||||
name: aarch64-docker
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: arm64-ssh
|
||||
- name: aarch64-ssh
|
||||
image: appleboy/drone-ssh
|
||||
volumes:
|
||||
- name: ssh_key
|
||||
@ -84,6 +104,31 @@ volumes:
|
||||
host:
|
||||
path: /root/.ssh/docker-build
|
||||
---
|
||||
name: docker-manifest
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
username: hrfee
|
||||
password:
|
||||
from_secret: docker_key
|
||||
repo: hrfee/jfa-go
|
||||
target: hrfee/jfa-go:latest
|
||||
template: hrfee/jfa-go:manifest-latest-ARCH
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/aarch64
|
||||
- linux/armhf
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- amd64-docker
|
||||
- aarch64-docker
|
||||
- armhf-docker
|
||||
---
|
||||
name: jfa-go-git
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -115,12 +160,26 @@ trigger:
|
||||
- pull_request
|
||||
|
||||
---
|
||||
name: arm64-docker-git
|
||||
name: amd64-docker-git
|
||||
kind: pipeline
|
||||
type: docker
|
||||
steps:
|
||||
- name: build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: hrfee
|
||||
password:
|
||||
from_secret: docker_key
|
||||
repo: hrfee/jfa-go
|
||||
tags: manifest-unstable-amd64
|
||||
|
||||
---
|
||||
name: aarch64-docker-git
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: arm64-ssh
|
||||
- name: aarch64-ssh
|
||||
image: appleboy/drone-ssh
|
||||
volumes:
|
||||
- name: ssh_key
|
||||
@ -189,6 +248,31 @@ volumes:
|
||||
host:
|
||||
path: /root/.ssh/docker-build
|
||||
---
|
||||
name: docker-manifest-unstable
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
username: hrfee
|
||||
password:
|
||||
from_secret: docker_key
|
||||
repo: hrfee/jfa-go
|
||||
target: hrfee/jfa-go:latest
|
||||
template: hrfee/jfa-go:manifest-unstable-ARCH
|
||||
platforms:
|
||||
- linux/amd64
|
||||
- linux/aarch64
|
||||
- linux/armhf
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- amd64-docker-git
|
||||
- aarch64-docker-git
|
||||
- armhf-docker-git
|
||||
---
|
||||
name: jfa-go-pr
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
Loading…
Reference in New Issue
Block a user