This commit is contained in:
parent
47bb3de27f
commit
34f907b728
90
.drone.yml
90
.drone.yml
@ -1,90 +0,0 @@
|
|||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build and publish image amd64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
auto_tag: true
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub_username
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub_password
|
|
||||||
platform: linux/amd64
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
- name: build and publish image arm64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
auto_tag: true
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub_username
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub_password
|
|
||||||
platform: linux/arm64
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: pull_request
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build image only amd64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
auto_tag: true
|
|
||||||
dry_run: true
|
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
- name: build image only arm64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
auto_tag: true
|
|
||||||
dry_run: true
|
|
||||||
platform: linux/arm64
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: tags
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker amd64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub_username
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub_password
|
|
||||||
tags:
|
|
||||||
- ${DRONE_TAG}
|
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
- name: docker arm64
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: eumau/postfix
|
|
||||||
username:
|
|
||||||
from_secret: dockerhub_username
|
|
||||||
password:
|
|
||||||
from_secret: dockerhub_password
|
|
||||||
tags:
|
|
||||||
- ${DRONE_TAG}
|
|
||||||
platform: linux/arm64
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- tag
|
|
Loading…
x
Reference in New Issue
Block a user