72 lines
1.3 KiB
YAML
72 lines
1.3 KiB
YAML
---
|
|
kind: pipeline
|
|
name: linux-amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: dryrun
|
|
pull: always
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
dockerfile: docker/Dockerfile.linux.amd64
|
|
dry_run: true
|
|
password:
|
|
from_secret: docker_password
|
|
repo: plugins/base
|
|
tags: linux-amd64
|
|
username:
|
|
from_secret: docker_username
|
|
|
|
- name: publish
|
|
pull: always
|
|
image: plugins/docker:linux-amd64
|
|
settings:
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-amd64
|
|
dockerfile: docker/Dockerfile.linux.amd64
|
|
password:
|
|
from_secret: docker_password
|
|
repo: plugins/base
|
|
username:
|
|
from_secret: docker_username
|
|
|
|
---
|
|
kind: pipeline
|
|
name: linux-arm
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: dryrun
|
|
pull: always
|
|
image: plugins/docker:linux-arm
|
|
settings:
|
|
dockerfile: docker/Dockerfile.linux.arm
|
|
dry_run: true
|
|
password:
|
|
from_secret: docker_password
|
|
repo: plugins/base
|
|
tags: linux-arm
|
|
username:
|
|
from_secret: docker_username
|
|
|
|
- name: publish
|
|
pull: always
|
|
image: plugins/docker:linux-arm
|
|
settings:
|
|
auto_tag: true
|
|
auto_tag_suffix: linux-arm
|
|
dockerfile: docker/Dockerfile.linux.arm
|
|
password:
|
|
from_secret: docker_password
|
|
repo: plugins/base
|
|
username:
|
|
from_secret: docker_username
|
|
|
|
...
|