Skip to content

Instantly share code, notes, and snippets.

@gounthar
Last active June 21, 2023 13:02
Show Gist options
  • Save gounthar/7ca78c9c77100053d1affbd67acf32bb to your computer and use it in GitHub Desktop.
Save gounthar/7ca78c9c77100053d1affbd67acf32bb to your computer and use it in GitHub Desktop.
---
name: Bump the various docker images versions for the Ruby version
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 }}"
ruby:
kind: git
spec:
url: "https://github.com/ruby/ruby.git"
branch: "master"
sources:
rubyLatestVersion:
name: "Get the latest Ruby version"
kind: gittag
scmid: ruby
spec:
versionfilter:
kind: regex
pattern: >-
v3_\d+_\d+$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment