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

46 lines
982 B
YAML
Raw Permalink Normal View History

2023-07-18 20:02:37 +02:00
matrix:
PLATFORM:
- linux/amd64
2023-07-18 20:02:37 +02:00
depends_on:
- java
2024-12-15 20:09:11 +01:00
variables:
- &image 'docker.io/woodpeckerci/plugin-docker-buildx:5.0.0'
steps:
build-only:
2024-12-15 20:09:11 +01:00
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:
2024-12-15 20:09:11 +01:00
image: *image
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
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/bot
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
event: [push, tag, manual]