generated from jackhadrill/container-spawner
59 lines
1.2 KiB
YAML
59 lines
1.2 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: build-amd64
|
|
platform:
|
|
arch: amd64
|
|
steps:
|
|
- name: push
|
|
image: plugins/docker
|
|
when:
|
|
branch:
|
|
- main
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
repo: git.jacknet.io/jackhadrill/container-director
|
|
tags: amd64
|
|
username: jackhadrill
|
|
password:
|
|
from_secret: password
|
|
registry: git.jacknet.io
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: build-arm64
|
|
platform:
|
|
arch: arm64
|
|
steps:
|
|
- name: push
|
|
image: plugins/docker
|
|
when:
|
|
branch:
|
|
- main
|
|
settings:
|
|
dockerfile: Dockerfile
|
|
repo: git.jacknet.io/jackhadrill/container-director
|
|
tags: arm64
|
|
username: jackhadrill
|
|
password:
|
|
from_secret: password
|
|
registry: git.jacknet.io
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: manifest
|
|
depends_on:
|
|
- build-amd64
|
|
- build-arm64
|
|
steps:
|
|
- name: manifest
|
|
image: plugins/manifest
|
|
settings:
|
|
username: JackNet
|
|
password:
|
|
from_secret: password
|
|
target: git.jacknet.io/jackhadrill/container-director:latest
|
|
template: git.jacknet.io/jackhadrill/container-director:ARCH
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm64
|