arm64 build
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Mauro Torrez 2024-02-26 19:04:24 -03:00
parent a5458bcf18
commit ab4040aff0

View File

@ -3,7 +3,7 @@ kind: pipeline
name: default
steps:
- name: build and publish image
- name: build and publish image amd64
image: plugins/docker
settings:
repo: eumau/postfix
@ -12,6 +12,21 @@ steps:
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
@ -21,12 +36,21 @@ kind: pipeline
name: pull_request
steps:
- name: build image only
- 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:
@ -37,7 +61,7 @@ kind: pipeline
name: tags
steps:
- name: docker
- name: docker amd64
image: plugins/docker
settings:
repo: eumau/postfix
@ -47,6 +71,19 @@ steps:
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: