71 lines
1.3 KiB
YAML
71 lines
1.3 KiB
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: docker amd64
|
|
image: plugins/docker
|
|
settings:
|
|
repo: eumau/debian
|
|
auto_tag: true
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
platform: linux/amd64
|
|
|
|
- name: docker arm64
|
|
image: plugins/docker
|
|
settings:
|
|
repo: eumau/debian
|
|
auto_tag: true
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
platform: linux/arm64
|
|
|
|
trigger:
|
|
event:
|
|
exclude:
|
|
- tag
|
|
|
|
---
|
|
kind: pipeline
|
|
name: tags
|
|
|
|
steps:
|
|
- name: docker amd64
|
|
image: plugins/docker
|
|
settings:
|
|
repo: eumau/debian
|
|
auto_tag: false
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
tags:
|
|
- ${DRONE_TAG}
|
|
build_args:
|
|
- DEBIAN_VERSION=${DRONE_TAG}
|
|
platform: linux/amd64
|
|
|
|
- name: docker arm64
|
|
image: plugins/docker
|
|
settings:
|
|
repo: eumau/debian
|
|
auto_tag: false
|
|
username:
|
|
from_secret: dockerhub_username
|
|
password:
|
|
from_secret: dockerhub_password
|
|
tags:
|
|
- ${DRONE_TAG}
|
|
build_args:
|
|
- DEBIAN_VERSION=${DRONE_TAG}
|
|
platform: linux/arm64
|
|
|
|
trigger:
|
|
event:
|
|
- tag
|