parent
4a859fae10
commit
97a7ae4e63
1 changed files with 28 additions and 10 deletions
|
@ -22,11 +22,7 @@ steps:
|
|||
- echo "foo=bar" >> release.properties
|
||||
- echo "scm.tag=dev" >> release.properties
|
||||
- echo "scm.sdf=bar" >> release.properties
|
||||
- cat release.properties
|
||||
- echo "VERSION=$(grep "scm.tag=" release.properties | cut -d= -f2)" > maven.env
|
||||
- pwd
|
||||
- ls -lA
|
||||
- cat maven.env
|
||||
environment:
|
||||
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.woodpecker/maven/settings.xml
|
||||
MAVEN_GPG_KEY: {from_secret: woodpecker_gpg_key}
|
||||
|
@ -36,17 +32,39 @@ steps:
|
|||
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
|
||||
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
|
||||
|
||||
echo:
|
||||
image2:
|
||||
image: kokuwaio/buildctl
|
||||
pull: true
|
||||
commands:
|
||||
- pwd
|
||||
- ls -lA
|
||||
- cat maven.env
|
||||
settings:
|
||||
env-file: maven.env1
|
||||
name:
|
||||
- docker.io/kokuwaio/keycloak-event-metrics:latest
|
||||
- docker.io/kokuwaio/keycloak-event-metrics:$VERSION
|
||||
- ghcr.io/kokuwaio/keycloak-event-metrics:latest
|
||||
- ghcr.io/kokuwaio/keycloak-event-metrics:$VERSION
|
||||
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: $VERSION
|
||||
|
||||
image:
|
||||
image: kokuwaio/buildctl
|
||||
pull: true
|
||||
settings:
|
||||
env-file: maven.env
|
||||
name:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue