This commit is contained in:
parent
aa7f685222
commit
21d06f1fbc
1 changed files with 33 additions and 32 deletions
65
.drone.yml
65
.drone.yml
|
@ -28,36 +28,37 @@ trigger:
|
|||
event:
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-arm
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
purge: true
|
||||
no_cache: true
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
repo: spcodes/morty
|
||||
build_args:
|
||||
- ARCH=arm
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
from_secret: PASSWORD
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
# disable temporarily
|
||||
#---
|
||||
#kind: pipeline
|
||||
#type: docker
|
||||
#name: linux-arm
|
||||
#
|
||||
#platform:
|
||||
# os: linux
|
||||
# arch: arm
|
||||
#
|
||||
#steps:
|
||||
# - name: docker
|
||||
# image: plugins/docker
|
||||
# settings:
|
||||
# purge: true
|
||||
# no_cache: true
|
||||
# auto_tag: true
|
||||
# auto_tag_suffix: linux-arm
|
||||
# repo: spcodes/morty
|
||||
# build_args:
|
||||
# - ARCH=arm
|
||||
# username:
|
||||
# from_secret: USERNAME
|
||||
# password:
|
||||
# from_secret: PASSWORD
|
||||
#
|
||||
#trigger:
|
||||
# branch:
|
||||
# - main
|
||||
# event:
|
||||
# - push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -105,7 +106,7 @@ steps:
|
|||
platforms:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/arm
|
||||
# - linux/arm
|
||||
username:
|
||||
from_secret: USERNAME
|
||||
password:
|
||||
|
@ -114,7 +115,7 @@ steps:
|
|||
depends_on:
|
||||
- linux-amd64
|
||||
- linux-arm64
|
||||
- linux-arm
|
||||
# - linux-arm
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
Reference in a new issue