Created
March 27, 2024 08:08
-
-
Save olblak/d2c7e1b56ccf11aca184dcda248ef4d5 to your computer and use it in GitHub Desktop.
Get latest unifi-controller with Updatecli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Get latest unifi controller version | |
sources: | |
unifi: | |
name: Get latest unifi version | |
kind: xml | |
spec: | |
# Using the UniFi Network Application RSS | |
file: https://community.ui.com/rss/releases/UniFi%20Network%20Application/e6712595-81bb-4829-8e42-9e2630fabcfe | |
path: "/rss/channel/item[1]/title" | |
transformers: | |
- findsubmatch: | |
pattern: "([0-9]+\\.[0-9]+\\.[0-9]+)" | |
captureindex: 1 | |
targets: | |
dockerfile: | |
name: 'deps: bump unifi-controller version to {{ source "unifi"}}' | |
kind: dockerfile | |
spec: | |
file: Dockerfile | |
instruction: | |
keyword: ARG | |
matcher: "UNIFI_CONTROLLER_VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment