3 Commits

Author SHA1 Message Date
0693734d0a fix: missing 'v'
All checks were successful
Update Traefik Version / update-version (pull_request) Successful in 3m22s
2026-04-09 15:08:26 -03:00
042324c00a fix: update schedule to all days and filter for RC tagged as release
Some checks failed
Update Traefik Version / update-version (pull_request) Failing after 3s
2026-04-09 15:06:22 -03:00
giabot
c66b6fef2d patch: update traefik_version to v3.6.12 2026-03-30 03:04:11 -03:00
2 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ name: Update Traefik Version
on:
schedule:
- cron: '0 6 * * 1' # Every Monday at 06:00 UTC
- cron: '30 6 * * *' # Every day at 06:30 UTC
workflow_dispatch:
pull_request:
branches:
@@ -27,6 +27,10 @@ jobs:
working-directory: ansible_role_proxy
run: |
LATEST=$(curl -sf https://api.github.com/repos/traefik/traefik/releases/latest | jq -r '.tag_name')
if ! [[ "$LATEST" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "::error::Refusing to bump to non-stable version '$LATEST'"
exit 1
fi
CURRENT=$(grep "^traefik_version:" defaults/main.yml | sed "s/traefik_version: '//;s/'//")
echo "latest=$LATEST" >> "$GITHUB_OUTPUT"
if [ "$LATEST" = "$CURRENT" ]; then

View File

@@ -3,7 +3,7 @@
## Install configuration
traefik_name: 'traefik'
traefik_version: 'v3.6.11'
traefik_version: 'v3.6.12'
traefik_opt: '/opt/{{ traefik_name }}'
traefik_etc: '/etc/{{ traefik_name }}'
traefik_url: 'https://github.com/{{ traefik_name }}/{{ traefik_name }}/releases/download/{{ traefik_version }}/{{ traefik_name }}_{{ traefik_version }}'