Compare commits

..
Author SHA1 Message Date
Lumpiasty 19568f65ab Pin only major version of renovate
ci/woodpecker/pr/pr-build Pipeline was successful
2026-06-21 03:05:52 +02:00
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ when:
steps: steps:
- name: Build all arches (no push) - name: Build all arches (no push)
image: woodpeckerci/plugin-docker-buildx:6.1.1 image: woodpeckerci/plugin-docker-buildx:6.1.0
privileged: true privileged: true
settings: settings:
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7
+3 -3
View File
@@ -29,7 +29,7 @@ when:
steps: steps:
- name: Get git token from OpenBao - name: Get git token from OpenBao
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
ROLE_ID: ROLE_ID:
@@ -44,7 +44,7 @@ steps:
- bao kv get -mount secret -field RENOVATE_TOKEN renovate > /woodpecker/git_token - bao kv get -mount secret -field RENOVATE_TOKEN renovate > /woodpecker/git_token
- name: Auto-tag mt.1 on Tailscale bump - name: Auto-tag mt.1 on Tailscale bump
image: alpine/git:v2.54.0 image: alpine/git:v2.52.0
environment: environment:
CI_REPO_URL: https://gitea.lumpiasty.xyz/lumpiasty/mikrotik-tailscale.git CI_REPO_URL: https://gitea.lumpiasty.xyz/lumpiasty/mikrotik-tailscale.git
commands: commands:
@@ -72,7 +72,7 @@ steps:
- git push "https://woodpecker:$GIT_TOKEN@gitea.lumpiasty.xyz/lumpiasty/mikrotik-tailscale.git" "$TAG" - git push "https://woodpecker:$GIT_TOKEN@gitea.lumpiasty.xyz/lumpiasty/mikrotik-tailscale.git" "$TAG"
- echo "Pushed $TAG" - echo "Pushed $TAG"
- name: Invalidate OpenBao token - name: Invalidate OpenBao token
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
commands: commands:
+3 -3
View File
@@ -25,7 +25,7 @@ when:
steps: steps:
- name: Get registry creds from OpenBao - name: Get registry creds from OpenBao
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
ROLE_ID: ROLE_ID:
@@ -43,7 +43,7 @@ steps:
- 'printf "PLUGIN_PASSWORD=%s\n" "$(bao kv get -mount secret -field REGISTRY_PASSWORD container-registry)" >> /woodpecker/registry.env' - 'printf "PLUGIN_PASSWORD=%s\n" "$(bao kv get -mount secret -field REGISTRY_PASSWORD container-registry)" >> /woodpecker/registry.env'
- name: Build and push multi-arch image - name: Build and push multi-arch image
image: woodpeckerci/plugin-docker-buildx:6.1.1 image: woodpeckerci/plugin-docker-buildx:6.1.0
privileged: true privileged: true
settings: settings:
registry: gitea.lumpiasty.xyz registry: gitea.lumpiasty.xyz
@@ -57,7 +57,7 @@ steps:
# Credentials (PLUGIN_USERNAME / PLUGIN_PASSWORD) come from OpenBao. # Credentials (PLUGIN_USERNAME / PLUGIN_PASSWORD) come from OpenBao.
env_file: /woodpecker/registry.env env_file: /woodpecker/registry.env
- name: Invalidate OpenBao token - name: Invalidate OpenBao token
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
commands: commands:
+3 -3
View File
@@ -30,7 +30,7 @@ skip_clone: true
steps: steps:
- name: Get renovate token from OpenBao - name: Get renovate token from OpenBao
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
ROLE_ID: ROLE_ID:
@@ -47,7 +47,7 @@ steps:
- name: renovate - name: renovate
pull: true pull: true
# Renovate's built-in "woodpecker" manager tracks this image automatically. # Renovate's built-in "woodpecker" manager tracks this image automatically.
image: renovate/renovate:44 image: renovate/renovate:43
environment: environment:
# --- platform / target --- # --- platform / target ---
RENOVATE_PLATFORM: gitea RENOVATE_PLATFORM: gitea
@@ -76,7 +76,7 @@ steps:
- export GITHUB_COM_TOKEN=$(cat /woodpecker/github_com_token) - export GITHUB_COM_TOKEN=$(cat /woodpecker/github_com_token)
- /usr/local/sbin/renovate-entrypoint.sh renovate - /usr/local/sbin/renovate-entrypoint.sh renovate
- name: Invalidate OpenBao token - name: Invalidate OpenBao token
image: quay.io/openbao/openbao:2.6.2 image: quay.io/openbao/openbao:2.5.4
environment: environment:
VAULT_ADDR: https://openbao.lumpiasty.xyz:8200 VAULT_ADDR: https://openbao.lumpiasty.xyz:8200
commands: commands:
+4 -4
View File
@@ -1,4 +1,4 @@
# syntax=docker/dockerfile:1.27.0@sha256:bde3983e9c939224420ddaf6b784cc30e09b035a4dea01f581230c50809f372e # syntax=docker/dockerfile:1.24.0@sha256:87999aa3d42bdc6bea60565083ee17e86d1f3339802f543c0d03998580f9cb89
# ============================================================================= # =============================================================================
# Multi-architecture build # Multi-architecture build
# ============================================================================= # =============================================================================
@@ -32,10 +32,10 @@ FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.9.0@sha256:c64defb9ed5a91eacb37f9
# ============================================================================= # =============================================================================
# Stage 1: Build Tailscale combined binary (cross-compiled, runs natively) # Stage 1: Build Tailscale combined binary (cross-compiled, runs natively)
# ============================================================================= # =============================================================================
FROM --platform=$BUILDPLATFORM golang:1.27.1-alpine@sha256:cf6fca6641884b8433441b2b0652976f975e1d0fdd26d177eaaf8596087f3125 AS builder FROM --platform=$BUILDPLATFORM golang:1.26.4-alpine@sha256:f1ddd9fe14fffc091dd98cb4bfa999f32c5fc77d2f2305ea9f0e2595c5437c14 AS builder
# renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale versioning=semver # renovate: datasource=github-releases depName=tailscale packageName=tailscale/tailscale versioning=semver
ARG TAILSCALE_VERSION=v1.102.4 ARG TAILSCALE_VERSION=v1.98.5
# Provided automatically by buildx for the target platform. # Provided automatically by buildx for the target platform.
ARG TARGETOS ARG TARGETOS
@@ -303,7 +303,7 @@ RUN printf '%s\n' \
# only for this one lightweight probe step (busybox --help per applet), not # only for this one lightweight probe step (busybox --help per applet), not
# for the compile itself. The probe can alternatively be skipped by using # for the compile itself. The probe can alternatively be skipped by using
# a pre-enumerated applet list, but the current approach is simpler. # a pre-enumerated applet list, but the current approach is simpler.
FROM --platform=$BUILDPLATFORM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS busybox FROM --platform=$BUILDPLATFORM alpine:3.24.0@sha256:a2d49ea686c2adfe3c992e47dc3b5e7fa6e6b5055609400dc2acaeb241c829f4 AS busybox
# Copy xx cross-compilation helpers (xx-clang, xx-apk, xx-info, etc.) # Copy xx cross-compilation helpers (xx-clang, xx-apk, xx-info, etc.)
COPY --from=xx / / COPY --from=xx / /