Skip to content

Commit add74f2

Browse files
authored
Merge pull request #32 from ttlequals0/main
New Features and Code Optimizations
2 parents 0eb52a5 + f60d28e commit add74f2

19 files changed

Lines changed: 2137 additions & 2496 deletions

File tree

.dockerignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
# Git
22
.git
33
.gitignore
4+
.github
45

56
# IDE
67
.vscode
78
.idea
9+
.claude
10+
11+
# Secrets / env files
12+
.env
13+
.env.*
14+
*.pem
15+
*.key
16+
*.pfx
17+
18+
# Local-only docs / scratch
19+
CLAUDE.md
20+
PR_DESCRIPTION.md
21+
tmp/
822

923
# Go build artifacts
1024
*.exe

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
- '.gitignore'
2222
- 'example/**'
2323

24+
permissions:
25+
contents: read
26+
2427
jobs:
2528
check-changes:
2629
runs-on: ubuntu-latest
@@ -212,7 +215,7 @@ jobs:
212215
- name: Set up Go
213216
uses: actions/setup-go@v5
214217
with:
215-
go-version: '1.21'
218+
go-version: '1.26'
216219

217220
- name: Build binary
218221
env:

CHANGELOG.md

Lines changed: 118 additions & 188 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM golang:1.23-alpine AS builder
2+
FROM golang:1.26-alpine AS builder
33

44
WORKDIR /app
55

@@ -11,7 +11,7 @@ RUN go mod download
1111
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o labelarr ./cmd/labelarr
1212

1313
# Runtime stage
14-
FROM alpine:3.21
14+
FROM alpine:3.22
1515

1616
# Install ca-certificates for HTTPS requests and debugging tools
1717
# Using retry logic for QEMU emulation stability during multi-arch builds
@@ -27,5 +27,7 @@ COPY --from=builder /app/labelarr .
2727
RUN adduser -D -s /bin/bash labelarr
2828
USER labelarr
2929

30-
# Run the application
30+
# Webhook server port (only used when WEBHOOK_ENABLED=true)
31+
EXPOSE 9090
32+
3133
CMD ["./labelarr"]

0 commit comments

Comments
 (0)