1 Commits

Author SHA1 Message Date
4febe71cb3 chore(deps): update ghcr.io/renovatebot/renovate docker tag to v39.218.0
Some checks failed
Go / build (pull_request) Successful in -10s
SonarQube Scan / Build and analyze (pull_request) Failing after 11s
2025-03-26 15:25:39 +00:00
6 changed files with 5 additions and 16 deletions

View File

@@ -4,7 +4,6 @@ on:
push:
tags:
- "*"
workflow_dispatch:
jobs:

View File

@@ -10,7 +10,7 @@ on:
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:41.82.3
container: ghcr.io/renovatebot/renovate:39.218.0
steps:
- uses: actions/checkout@v4
- run: renovate

View File

@@ -1,5 +1,5 @@
# Use the official Golang image for building
FROM golang:1.25 AS builder
FROM golang:1.23 AS builder
# Set working directory
WORKDIR /app
# Copy Go modules and dependencies
@@ -11,15 +11,11 @@ COPY . .
RUN go build -o gosearch .
# Use a minimal base image for final deployment
FROM alpine:3.22
FROM alpine:latest
# Set working directory in the container
WORKDIR /
WORKDIR /root/
# Copy the built binary from the builder stage
COPY --from=builder /app/gosearch .
# Add executing User
RUN addgroup gosearch \
&& useradd -g gosearch gosearch
USER gosearch
# Expose the application port
EXPOSE 3000
# Run the application

View File

@@ -1,6 +1,4 @@
[![Quality Gate Status](https://sonar.dev-null.rocks/api/project_badges/measure?project=gosearch&metric=alert_status&token=sqb_4d86c3b73f6837027a319df42d2f70ccb46e56a2)](https://sonar.dev-null.rocks/dashboard?id=gosearch)
[![Security Rating](https://sonar.dev-null.rocks/api/project_badges/measure?project=gosearch&metric=software_quality_security_rating&token=sqb_4d86c3b73f6837027a319df42d2f70ccb46e56a2)](https://sonar.dev-null.rocks/dashboard?id=gosearch)
[![Lines of Code](https://sonar.dev-null.rocks/api/project_badges/measure?project=gosearch&metric=ncloc&token=sqb_4d86c3b73f6837027a319df42d2f70ccb46e56a2)](https://sonar.dev-null.rocks/dashboard?id=gosearch)
# gosearch

2
go.mod
View File

@@ -2,7 +2,7 @@ module git.dev-null.rocks/alexohneander/gosearch
go 1.23.5
require github.com/gofiber/fiber/v2 v2.52.9
require github.com/gofiber/fiber/v2 v2.52.6
require (
github.com/mattn/go-runewidth v0.0.16 // indirect

4
go.sum
View File

@@ -2,10 +2,6 @@ github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7X
github.com/andybalholm/brotli v1.1.1/go.mod h1:05ib4cKhjx3OQYUY22hTVd34Bc8upXjOLL2rKwwZBoA=
github.com/gofiber/fiber/v2 v2.52.6 h1:Rfp+ILPiYSvvVuIPvxrBns+HJp8qGLDnLJawAu27XVI=
github.com/gofiber/fiber/v2 v2.52.6/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw=
github.com/gofiber/fiber/v2 v2.52.8 h1:xl4jJQ0BV5EJTA2aWiKw/VddRpHrKeZLF0QPUxqn0x4=
github.com/gofiber/fiber/v2 v2.52.8/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw=
github.com/gofiber/fiber/v2 v2.52.9 h1:YjKl5DOiyP3j0mO61u3NTmK7or8GzzWzCFzkboyP5cw=
github.com/gofiber/fiber/v2 v2.52.9/go.mod h1:YEcBbO/FB+5M1IZNBP9FO3J9281zgPAreiI1oqg8nDw=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=