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

56 lines
1.1 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
PLATFORM:
# - linux/amd64
- linux/arm64
2023-07-18 20:02:37 +02:00
labels:
platform: linux/amd64
depends_on:
2023-12-07 23:49:44 +01:00
- java
- nodejs
steps:
build-only:
2024-01-07 18:47:37 +01:00
image: woodpeckerci/plugin-docker-buildx:2.3.0
group: build
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
when:
- event: [push, manual]
branch:
exclude: [main]
build:
2024-01-07 18:47:37 +01:00
image: woodpeckerci/plugin-docker-buildx:2.3.0
2023-07-18 20:22:49 +02:00
group: build
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
when:
- branch: main