2021-02-09 22:07:34 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: linux-amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
purge: true
|
|
|
|
no_cache: true
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
repo: spcodes/cadvisor
|
|
|
|
build_args:
|
|
|
|
- ARCH=amd64
|
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
# disable temporarily
|
|
|
|
#---
|
|
|
|
#kind: pipeline
|
|
|
|
#type: docker
|
|
|
|
#name: linux-arm
|
|
|
|
#
|
|
|
|
#platform:
|
|
|
|
# os: linux
|
|
|
|
# arch: arm
|
|
|
|
#
|
|
|
|
#steps:
|
|
|
|
# - name: docker
|
|
|
|
# image: plugins/docker
|
|
|
|
# settings:
|
|
|
|
# purge: true
|
|
|
|
# no_cache: true
|
|
|
|
# auto_tag: true
|
|
|
|
# auto_tag_suffix: linux-arm
|
|
|
|
# repo: spcodes/cadvisor
|
|
|
|
# build_args:
|
|
|
|
# - ARCH=arm
|
|
|
|
# username:
|
|
|
|
# from_secret: USERNAME
|
|
|
|
# password:
|
|
|
|
# from_secret: PASSWORD
|
|
|
|
#
|
|
|
|
#trigger:
|
|
|
|
# branch:
|
|
|
|
# - main
|
|
|
|
# event:
|
|
|
|
# - push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: linux-arm64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
purge: true
|
|
|
|
no_cache: true
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
repo: spcodes/cadvisor
|
|
|
|
build_args:
|
|
|
|
- ARCH=arm64
|
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: manifest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: publish-version
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
2021-03-09 05:00:30 +00:00
|
|
|
target: spcodes/cadvisor:v0.38.8
|
2021-02-09 22:07:34 +00:00
|
|
|
template: spcodes/cadvisor:OS-ARCH
|
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
# - linux/arm
|
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
|
|
|
- name: publish-latest
|
|
|
|
image: plugins/manifest
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
|
|
|
target: spcodes/cadvisor
|
|
|
|
template: spcodes/cadvisor:OS-ARCH
|
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
# - linux/arm
|
|
|
|
username:
|
|
|
|
from_secret: USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: PASSWORD
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64
|
|
|
|
- linux-arm64
|
|
|
|
# - linux-arm
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|