Augusto Dwenger J.
dbf6e17bfb
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
Only the build step should be executed.
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
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.2.1
|
|
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.2.1
|
|
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
|