dchat/.woodpecker/oci-image-build.yml
Augusto Dwenger J. 4282c7208c
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
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
ci: Update buildx image to 2.3.0
2024-01-07 18:47:37 +01:00

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.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