-
Notifications
You must be signed in to change notification settings - Fork 2
chore: update Go version to 1.23 and improve security #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,5 @@ | ||||||
| # Build stage | ||||||
| FROM golang:1.21-alpine AS builder | ||||||
| FROM golang:1.23-alpine AS builder | ||||||
|
||||||
| FROM golang:1.23-alpine AS builder | |
| FROM golang:1.24-alpine AS builder |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -210,7 +210,7 @@ | |
| ], | ||
| "body": { | ||
| "mode": "raw", | ||
| "raw": "{\n \"username\": \"admin\",\n \"password\": \"Admin123!\"\n}" | ||
| "raw": "{\n \"username\": \"{{username}}\",\n \"password\": \"{{password}}\"\n}" | ||
| }, | ||
|
Comment on lines
212
to
214
|
||
| "url": { | ||
| "raw": "{{base_url}}/api/v1/auth/login", | ||
|
|
@@ -279,7 +279,7 @@ | |
| ], | ||
| "body": { | ||
| "mode": "raw", | ||
| "raw": "{\n \"old_password\": \"Admin123!\",\n \"new_password\": \"NewPassword123!\"\n}" | ||
| "raw": "{\n \"old_password\": \"{{old_password}}\",\n \"new_password\": \"{{new_password}}\"\n}" | ||
| }, | ||
|
Comment on lines
281
to
283
|
||
| "url": { | ||
| "raw": "{{base_url}}/api/v1/auth/change-password", | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider pinning the Go builder image to a specific patch/alpine variant (e.g.,
golang:1.23.x-alpine3.y) instead of a floating1.23-alpinetag. Floating tags can change underneath you and make builds non-reproducible, and can also introduce unexpected CVEs or behavior changes between builds.