rm drone ci
All checks were successful
Build Docker images / docker (3) (push) Successful in 2m40s

This commit is contained in:
Mauro Torrez 2024-02-27 13:17:28 -03:00
parent 47bb3de27f
commit 34f907b728

View File

@ -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