w
Some checks failed
ci/woodpecker/manual/versions/4 Pipeline was successful
ci/woodpecker/manual/lint Pipeline failed
ci/woodpecker/manual/versions/2 Pipeline was successful
ci/woodpecker/manual/dockerhub Pipeline failed
ci/woodpecker/manual/build Pipeline failed
ci/woodpecker/manual/versions/5 Pipeline was successful
ci/woodpecker/manual/versions/1 Pipeline was successful
ci/woodpecker/manual/verify Pipeline failed
ci/woodpecker/manual/versions/3 Pipeline was successful

This commit is contained in:
Stephan Schnabel 2025-06-23 22:12:31 +02:00
parent d4cea7aa43
commit 418ea33073
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
5 changed files with 72 additions and 11 deletions

View file

@ -13,7 +13,38 @@ services:
steps:
image:
image: kokuwaio/buildctl
depends_on: []
settings:
name:
- registry.kokuwa.io/kokuwaio/buildctl:latest
- docker.io/kokuwaio/buildctl:latest
- ghcr.io/kokuwaio/buildctl:latest
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}
registry.kokuwa.io:
username: {from_secret: kokuwa_io_username}
password: {from_secret: kokuwa_io_password}
platform: [linux/amd64, linux/arm64]
annotation:
org.opencontainers.image.title: Keycloak plugin for 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
deploy:
depends_on: []
image: maven:3.9.9-eclipse-temurin-17
commands: mvn deploy
environment:
@ -23,6 +54,7 @@ steps:
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
release:
depends_on: []
image: maven:3.9.9-eclipse-temurin-17
commands:
- git config user.email "$GIT_USER_EMAIL"
@ -33,7 +65,3 @@ steps:
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
DOCKER_IO_USERNAME: {from_secret: docker_io_username}
DOCKER_IO_PASSWORD: {from_secret: docker_io_password}
GHCR_IO_USERNAME: {from_secret: ghcr_io_username}
GHCR_IO_PASSWORD: {from_secret: ghcr_io_password}