39 lines
860 B
YAML
39 lines
860 B
YAML
|
---
|
||
|
steps:
|
||
|
- name: build (prod)
|
||
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
settings:
|
||
|
registry: git.ar21.de
|
||
|
username:
|
||
|
from_secret: REGISTRY_USER
|
||
|
password:
|
||
|
from_secret: REGISTRY_PASS
|
||
|
repo: git.ar21.de/tom/forkjo
|
||
|
platforms:
|
||
|
- linux/amd64
|
||
|
tags:
|
||
|
- latest
|
||
|
- ${CI_PIPELINE_NUMBER}
|
||
|
when:
|
||
|
- branch: forgejo
|
||
|
event: push
|
||
|
|
||
|
- name: build (experimental)
|
||
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
settings:
|
||
|
registry: git.ar21.de
|
||
|
username:
|
||
|
from_secret: REGISTRY_USER
|
||
|
password:
|
||
|
from_secret: REGISTRY_PASS
|
||
|
repo: git.ar21.de/tom/forkjo
|
||
|
platforms:
|
||
|
- linux/amd64
|
||
|
tags:
|
||
|
- experimental
|
||
|
- experimental-${CI_PIPELINE_NUMBER}
|
||
|
when:
|
||
|
- branch:
|
||
|
exclude: forgejo
|
||
|
event: push
|