1
Some checks failed
ci/woodpecker/push/release Pipeline failed

This commit is contained in:
Stephan Schnabel 2025-06-25 12:54:09 +02:00
parent 6c3087277a
commit f7f9243644
Signed by: stephan.schnabel
SSH key fingerprint: SHA256:99zuzxNGFb5/5P+E/O7ONU2qhUojUe/D8rIPTW+9Xp0
3 changed files with 20 additions and 4 deletions

View file

@ -2,7 +2,7 @@ when:
instance: ci.kokuwa.io
repo: keycloak/keycloak-event-metrics
event: [manual, push]
branch: main
branch: main1
path: [.woodpecker/dockerhub.yaml, README.md]
steps:

View file

@ -1,6 +1,6 @@
when:
event: [manual, pull_request, push]
branch: main
branch: main1
path: [.woodpecker/lint.yaml, renovate.json, Dockerfile, "**/*.y*ml", "**/*.md"]
steps:

View file

@ -16,9 +16,16 @@ steps:
- git config user.signingkey /run/secrets/sign.key
- echo $GIT_SIGN_KEY > /run/secrets/sign.key
# release
- mvn release:prepare # release:perform
# - mvn release:prepare release:perform
# write version to env file for image
- echo "VERSION=$(grep "scm.tag=" release.properties | cut -d= -f2)" > ${CI_WORKSPACE}/maven.env
- echo "#sdfsdf" > release.properties
- echo "foo=bar" > release.properties
- echo "scm.tag=dev" > release.properties
- echo "scm.sdf=bar" > release.properties
- echo "VERSION=$(grep "scm.tag=" release.properties | cut -d= -f2)" > ${CI_WORKSPACE}/maven.env
- pwd
- ls -lA
- cat ${CI_WORKSPACE}/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}
@ -28,8 +35,17 @@ steps:
SONATYPE_ORG_USERNAME: {from_secret: sonatype_org_username}
SONATYPE_ORG_PASSWORD: {from_secret: sonatype_org_password}
echo:
image: kokuwaio/buildctl
pull: true
commands:
- pwd
- ls -lA
- cat ${CI_WORKSPACE}/maven.env
image:
image: kokuwaio/buildctl
pull: true
settings:
env-file: ${CI_WORKSPACE}/maven.env
name: