update manifest
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
vincent 2022-05-09 11:10:10 +02:00
parent dfd7be84d0
commit 509266cc72

View File

@ -1,6 +1,6 @@
--- ---
kind: pipeline kind: pipeline
name: build and publish amd64 name: build_amd64
platform: platform:
os: linux os: linux
arch: amd64 arch: amd64
@ -23,31 +23,6 @@ steps:
dockerfile: ./pacoloco/Dockerfile dockerfile: ./pacoloco/Dockerfile
context: ./pacoloco context: ./pacoloco
---
kind: pipeline
name: build and publish 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
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
@ -58,11 +33,38 @@ steps:
image: plugins/manifest image: plugins/manifest
settings: settings:
auto_tag: "true" auto_tag: "true"
ignore_missing: "true" target: ducampsv/pacoloco:latest
spec: docker/manifest.tmpl template: ducampsv/pacoloco:ARCH
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
platforms:
- linux/amd64
- linux/arm
depends_on: depends_on:
- build and publish amd64 - build_amd64
#---
#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