dchat/.woodpecker/oci-image-build.yml

55 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2023-07-18 20:02:37 +02:00
matrix:
TARGET:
- bot
- web
- migration
2023-11-23 21:21:30 +01:00
- ui
2024-02-17 16:25:20 +01:00
- monolith
PLATFORM:
- linux/amd64
2023-07-18 20:02:37 +02:00
depends_on:
2024-02-18 14:06:28 +01:00
- oci-image-cache-build
steps:
build-only:
image: woodpeckerci/plugin-docker-buildx:4.1.0
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
password:
from_secret: docker_token
dockerfile: Dockerfile
target: ${TARGET}
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/${TARGET}
tags: latest
pull_image: false
platforms: ${PLATFORM}
dry-run: true
2024-02-18 14:06:28 +01:00
build_args:
- SETUP_IMAGE=rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image:${CI_PIPELINE_NUMBER}
when:
- event: [push, manual]
branch:
exclude: [main]
build:
image: woodpeckerci/plugin-docker-buildx:4.1.0
2023-07-18 20:02:37 +02:00
settings:
2023-10-31 14:52:08 +01:00
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
2023-07-18 20:02:37 +02:00
password:
from_secret: docker_token
dockerfile: Dockerfile
2023-07-18 20:02:37 +02:00
target: ${TARGET}
2023-10-17 19:20:26 +02:00
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/${TARGET}
2023-07-18 20:02:37 +02:00
tags: latest
pull_image: false
platforms: ${PLATFORM}
2023-12-09 20:04:00 +01:00
auto_tag: true
2024-02-18 14:06:28 +01:00
build_args:
- SETUP_IMAGE=rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image:${CI_PIPELINE_NUMBER}
when:
- branch: main
event: [push, tag, manual]