2022-05-09 07:13:52 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2022-05-09 09:10:10 +00:00
|
|
|
name: build_amd64
|
2022-05-09 07:13:52 +00:00
|
|
|
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
|
|
|
|
2022-12-04 07:15:20 +00:00
|
|
|
|
2022-05-09 09:02:18 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: manifest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
auto_tag: "true"
|
2022-05-09 09:10:10 +00:00
|
|
|
target: ducampsv/pacoloco:latest
|
|
|
|
template: ducampsv/pacoloco:ARCH
|
2022-05-09 09:02:18 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2022-05-09 09:10:10 +00:00
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm
|
2022-05-09 09:02:18 +00:00
|
|
|
depends_on:
|
2022-05-09 09:10:10 +00:00
|
|
|
- build_amd64
|
2022-12-04 07:15:20 +00:00
|
|
|
---
|
|
|
|
kind: secret
|
|
|
|
name: docker_username
|
|
|
|
get:
|
|
|
|
path: secrets/data/droneci/dockerHub
|
|
|
|
name: username
|
|
|
|
---
|
|
|
|
kind: secret
|
|
|
|
name: docker_password
|
|
|
|
get:
|
|
|
|
path: secrets/data/droneci/dockerHub
|
|
|
|
name: password
|
2022-05-09 09:10:10 +00:00
|
|
|
#---
|
|
|
|
#kind: pipeline
|
|
|
|
#name: build_arm
|
|
|
|
#platform:
|
|
|
|
# os: linux
|
|
|
|
# arch: arm
|
|
|
|
#
|
|
|
|
#steps:
|
|
|
|
# - name: clone repo
|
|
|
|
# image: alpine/git
|
|
|
|
# commands:
|
|
|
|
# - git clone https://github.com/anatol/pacoloco.git
|
|
|
|
# - name: docker
|
|
|
|
# image: plugins/docker
|
|
|
|
# settings:
|
|
|
|
# repo: ducampsv/pacoloco
|
|
|
|
# auto_tag: "true"
|
|
|
|
# auto_tag_suffix: arm
|
|
|
|
# username:
|
|
|
|
# from_secret: docker_username
|
|
|
|
# password:
|
|
|
|
# from_secret: docker_password
|
|
|
|
# dockerfile: ./pacoloco/Dockerfile
|
|
|
|
# context: ./pacoloco
|