dchat/.woodpecker/.oci-image-build.yml
Augusto Dwenger J. 159f0769e0
All checks were successful
ci/woodpecker/push/java Pipeline was successful
ci/woodpecker/push/oci-image-build Pipeline was successful
ci: Change buildx image to use anchors
2024-12-15 20:09:11 +01:00

45 lines
982 B
YAML

matrix:
PLATFORM:
- linux/amd64
depends_on:
- java
variables:
- &image 'docker.io/woodpeckerci/plugin-docker-buildx:5.0.0'
steps:
build-only:
image: *image
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
password:
from_secret: docker_token
dockerfile: Dockerfile
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/bot
tags: latest
pull_image: false
platforms: ${PLATFORM}
dry-run: true
when:
- event: [push, manual]
branch:
exclude: [main]
build:
image: *image
settings:
registry: rg.fr-par.scw.cloud/hamburghammer
username: nologin
password:
from_secret: docker_token
dockerfile: Dockerfile
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/bot
tags: latest
pull_image: false
platforms: ${PLATFORM}
auto_tag: true
when:
- branch: main
event: [push, tag, manual]