Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*{.yaml,.yml}]
indent_size = 2
89 changes: 89 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: CD

on:
workflow_dispatch:
push:
tags:
- "v*.*.*"

env:
DOCKER_IMAGE: "nventiveux/syncthing"

jobs:
changelog:
name: Generate changelog
runs-on: ubuntu-latest
outputs:
release_body: ${{ steps.git-cliff.outputs.content }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Generate changelog
uses: orhun/git-cliff-action@v4
id: git-cliff
with:
config: cliff.toml
args: -v --latest --no-exec --strip header

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Install asdf & tools
uses: asdf-vm/actions/install@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.DOCKER_IMAGE }}
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}

- name: Build and push
uses: docker/bake-action@v6
with:
push: true
files: |
./docker-bake.hcl
cwd://${{ steps.meta.outputs.bake-file }}
targets: build

- name: Update Docker Hub README
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ env.DOCKER_IMAGE }}

release:
name: Release
runs-on: ubuntu-latest
needs: [build, changelog]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Publish release
uses: ncipollo/release-action@v1
with:
body: ${{ needs.changelog.outputs.release_body }}
60 changes: 60 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CI

on:
pull_request:
push:
branches:
- "main"
- "develop"

env:
DOCKER_IMAGE: "nventiveux/syncthing"

jobs:
lint:
name: Linting (PR only)
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.3.0

build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Install asdf & tools
uses: asdf-vm/actions/install@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.DOCKER_IMAGE }}
tags: |
type=ref,event=pr
type=ref,event=branch

- name: Build and push image
uses: docker/bake-action@v6
with:
push: true
files: |
./docker-bake.hcl
cwd://${{ steps.meta.outputs.bake-file }}
targets: build
55 changes: 0 additions & 55 deletions .github/workflows/pr.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/workflows/release.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
build/
.venv/
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
task 3.48.0
git-cliff 2.12.0
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.0.13 (2026-01-22)

### Feat

- **core**: bump syncthing to 2.0.13

## v2.0.11 (2025-11-30)

### Feat
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.22
FROM alpine:3.23

LABEL authors="nVentiveUX <https://github.com/nVentiveUX>"
LABEL license="MIT"
Expand All @@ -13,7 +13,7 @@ ENV SYNCTHING_USER="syncthing" \
SYNCTHING_GROUP="syncthing" \
SYNCTHING_GROUP_GID=1000 \
SYNCTHING_ADMIN_USER="admin" \
SYNCTHING_VERSION="2.0.13" \
SYNCTHING_VERSION="2.0.14" \
SYNCTHING_ARCH="amd64"

RUN set -x \
Expand Down
26 changes: 0 additions & 26 deletions Makefile

This file was deleted.

Loading