docker-pacoloco-builder/.drone.yml

50 lines
1.0 KiB
YAML
Raw Normal View History

2022-05-09 07:13:52 +00:00
---
kind: pipeline
name: build and publish amd64
platform:
os: linux
arch: amd64
steps:
- name: clone repo
2022-05-09 08:04:04 +00:00
image: alpine/git
2022-05-09 07:13:52 +00:00
commands:
- git clone https://github.com/anatol/pacoloco.git
- name: docker
image: plugins/docker
settings:
2022-05-09 07:19:40 +00:00
repo: ducampsv/pacoloco
2022-05-09 08:50:40 +00:00
auto_tag: "true"
auto_tag_suffix: amd64
2022-05-09 07:13:52 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-05-09 07:19:40 +00:00
dockerfile: ./pacoloco/Dockerfile
context: ./pacoloco
2022-05-09 07:55:44 +00:00
---
kind: pipeline
name: build and publish arm
platform:
os: linux
arch: arm
steps:
- name: clone repo
2022-05-09 08:04:04 +00:00
image: alpine/git
2022-05-09 07:55:44 +00:00
commands:
- git clone https://github.com/anatol/pacoloco.git
- name: docker
image: plugins/docker
settings:
repo: ducampsv/pacoloco
2022-05-09 08:50:40 +00:00
auto_tag: "true"
auto_tag_suffix: arm
2022-05-09 07:55:44 +00:00
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: ./pacoloco/Dockerfile
context: ./pacoloco