matrix: TARGET: - bot - web - migration - ui PLATFORM: # - linux/amd64 - linux/arm64 labels: platform: linux/amd64 depends_on: - java - nodejs steps: build-only: 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: 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} auto_tag: true when: - branch: main