Files
de.captica.n8n/.gitea/workflows/pipeline-build.yaml
Tobias Lehmann daa8a135e2
All checks were successful
Build Pipeline for de.captica.n8n / resolve_n8n_version (push) Successful in 2s
Build Pipeline for de.captica.n8n / publish_docker (push) Successful in 4m15s
using latest stable n8n version
2026-03-25 11:52:55 +01:00

32 lines
927 B
YAML

name: Build Pipeline for de.captica.n8n
run-name: ${{ gitea.actor }} pushed new changes to ${{ gitea.branch }}
on:
push:
schedule:
- cron: '0 3 * * 1' # each monday
jobs:
resolve_n8n_version:
runs-on: docker-ubuntu
outputs:
version: ${{ steps.get_version.outputs.version }}
steps:
- name: Get latest n8n version
id: get_version
shell: bash
run: |
# define a fixed version
#VERSION="2.13.2"
# or use npm to get the latest stable version
VERSION="$(npm view n8n version stable)"
echo "Using version=$VERSION"
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
publish_docker:
needs: resolve_n8n_version
uses: captica-oss/de.captica.expert.devops/.gitea/workflows/publish-docker.yaml@main
with:
build_args: |
VERSION=${{ needs.resolve_n8n_version.outputs.VERSION }}
secrets: inherit