keycloak-event-metrics/.woodpecker/deploy.yaml
Stephan Schnabel beb356e75f
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
chore: remove github actions
2025-06-27 21:31:22 +02:00

61 lines
2.3 KiB
YAML

when:
instance: ci.kokuwa.io
repo: kokuwaio/keycloak-event-metrics
event: [manual, push]
branch: main
path: [.woodpecker/deploy.yaml, README.md, Dockerfile, pom.xml, src/main/**]
services:
- name: dockerd
image: kokuwaio/dockerd
privileged: true
ports: [2375, 8080]
steps:
maven:
image: maven:3.9.10-eclipse-temurin-17
commands: mvn deploy
environment:
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
image:
image: kokuwaio/buildctl
settings:
name:
- docker.io/kokuwaio/keycloak-event-metrics:snapshot
- ghcr.io/kokuwaio/keycloak-event-metrics:snapshot
build-args: {MAVEN_MIRROR_CENTRAL: "${MAVEN_MIRROR_CENTRAL}"}
platform: [linux/amd64, linux/arm64]
auth:
"https://index.docker.io/v1/":
username: {from_secret: docker_io_username}
password: {from_secret: docker_io_password}
ghcr.io:
username: {from_secret: ghcr_io_username}
password: {from_secret: ghcr_io_password}
annotation:
org.opencontainers.image.title: Keycloak Metrics
org.opencontainers.image.description: Provides metrics for Keycloak user/admin events and user/client/session count.
org.opencontainers.image.url: $CI_REPO_URL
org.opencontainers.image.documentation: $CI_REPO_URL/README.md
org.opencontainers.image.source: $CI_REPO_CLONE_URL
org.opencontainers.image.revision: $CI_COMMIT_SHA
org.opencontainers.image.vendor: kokuwa.io
org.opencontainers.image.licenses: EUPL-1.2
org.opencontainers.image.ref.name: kokuwaio/keycloak-event-metrics
org.opencontainers.image.version: snapshot
dockerhub:
image: kokuwaio/dockerhub-metadata
settings:
repository: kokuwaio/keycloak-event-metrics
description-short: Provides metrics for Keycloak user/admin events and user/client/session count.
categories: monitoring-and-observability
username: {from_secret: dockerhub_username}
password: {from_secret: dockerhub_password}
when:
path: [README.md]