chore(deps): bump Alpine 3.21→3.22, update CI actions and linter
Some checks failed
Release / release (push) Failing after 0s
Release / docker (push) Has been skipped
Release / virustotal (push) Failing after 0s

- Dockerfile: alpine 3.21 → 3.22 (fewer CVEs per Docker Scout)
- release.yml: actions/checkout v4→v6, setup-go v5→v6, setup-buildx v3→v4
- ci.yml: golangci-lint v2.11.3 → v2.11.4
- DOCKERHUB.md: update Alpine version reference
This commit is contained in:
Deivid Soto 2026-03-31 11:39:45 +02:00
parent f15eefc0ff
commit 763e267bf8
4 changed files with 7 additions and 7 deletions

View file

@ -62,7 +62,7 @@ jobs:
- name: Run golangci-lint - name: Run golangci-lint
uses: golangci/golangci-lint-action@v9 uses: golangci/golangci-lint-action@v9
with: with:
version: v2.11.3 version: v2.11.4
coverage: coverage:
name: Coverage name: Coverage

View file

@ -12,11 +12,11 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-go@v5 - uses: actions/setup-go@v6
with: with:
go-version-file: go.mod go-version-file: go.mod
@ -32,7 +32,7 @@ jobs:
needs: release needs: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Docker meta - name: Docker meta
id: meta id: meta
@ -45,7 +45,7 @@ jobs:
type=raw,value=latest type=raw,value=latest
- uses: docker/setup-qemu-action@v4 - uses: docker/setup-qemu-action@v4
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v4 - uses: docker/login-action@v4
with: with:

View file

@ -119,7 +119,7 @@ docker exec unarr unarr doctor
## Image Details ## Image Details
- **Base image:** Alpine 3.21 - **Base image:** Alpine 3.22
- **User:** `unarr` (UID 1000, GID 1000) - **User:** `unarr` (UID 1000, GID 1000)
- **Entrypoint:** `unarr start` (daemon mode) - **Entrypoint:** `unarr start` (daemon mode)
- **Read-only filesystem** — only mounted volumes are writable - **Read-only filesystem** — only mounted volumes are writable

View file

@ -16,7 +16,7 @@ ARG VERSION=dev
RUN CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/torrentclaw/unarr/internal/cmd.Version=${VERSION}" -trimpath -o /unarr ./cmd/unarr/ RUN CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/torrentclaw/unarr/internal/cmd.Version=${VERSION}" -trimpath -o /unarr ./cmd/unarr/
# ---- Runtime stage ---- # ---- Runtime stage ----
FROM alpine:3.21 FROM alpine:3.22
RUN apk upgrade --no-cache && \ RUN apk upgrade --no-cache && \
apk add --no-cache ca-certificates tzdata apk add --no-cache ca-certificates tzdata