Skip to content

Commit

Permalink
Merge pull request #10 from gounthar/updatecli
Browse files Browse the repository at this point in the history
feat(dependencies): Adds maven version.
  • Loading branch information
gounthar authored Nov 25, 2023
2 parents 20408cc + 7af4fdd commit 6e25d39
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions updatecli/updatecli.d/maven.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Bump the Maven docker images versions for various tutorials

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
mavenLatestVersion:
kind: githubrelease
spec:
owner: "apache"
repository: "maven"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
versioning:
kind: semver
pattern: "~3"
transformers:
- trimprefix: "maven-"

conditions:

targets:
maven-agent:
name: "[maven-agent] Bump maven version in dockerfiles/maven/Dockerfile"
kind: dockerfile
spec:
file: dockerfiles/maven/Dockerfile
instruction:
keyword: "ARG"
matcher: "MAVEN_VERSION"
sourceid: mavenLatestVersion

actions:
default:
kind: github/pullrequest
scmid: default
title: '[Tutorials] Bump maven version to {{ source "mavenLatestVersion" }}'
spec:
labels:
- dependencies

0 comments on commit 6e25d39

Please sign in to comment.