feat(ci): add Docker image build and release workflow
Integration Tests / integration-test (push) Failing after 1m36s

* Implement GitHub Actions workflow for Docker image build and release
* Validate release tags and manage Docker login credentials
* Build and push Docker images with versioning and metadata
* Add docker-build target to Makefile for local image building
This commit is contained in:
2026-09-18 20:17:24 +02:00
parent f433c5bdb2
commit 4f45e4c9a6
6 changed files with 113 additions and 22 deletions
+1 -1
View File
@@ -4,8 +4,8 @@ import (
"fmt"
"time"
"github.com/spf13/viper"
"git.warky.dev/wdevs/pgsql-broker/pkg/broker/adapter"
"github.com/spf13/viper"
)
// Config holds all broker configuration
+1 -1
View File
@@ -326,7 +326,7 @@ func execStatements(ctx context.Context, tx adapter.DBTransaction, sqlText strin
// $$-quoted function bodies intact.
// splitSQLStatements splits a SQL script into individual statements on
// top-level semicolons, ignoring semicolons that appear inside single-quoted
// strings ('...', with '' as an escaped quote), double-quoted identifiers,
// strings ('...', with ” as an escaped quote), double-quoted identifiers,
// line comments (--), and dollar-quoted bodies ($$...$$ or $tag$...$tag$).
func splitSQLStatements(sqlText string) []string {
var result []string
+10 -10
View File
@@ -24,16 +24,16 @@ type Queue struct {
// Config holds queue configuration
type Config struct {
Number int
InstanceID int64
WorkerCount int
DBAdapter adapter.DBAdapter
Logger adapter.Logger
BufferSize int
TimerSeconds int
FetchSize int
TenantID string
LeaseSeconds int
Number int
InstanceID int64
WorkerCount int
DBAdapter adapter.DBAdapter
Logger adapter.Logger
BufferSize int
TimerSeconds int
FetchSize int
TenantID string
LeaseSeconds int
}
// New creates a new queue manager
+1 -1
View File
@@ -218,7 +218,7 @@ func (w *Worker) processJobs(ctx context.Context) {
if jobID <= 0 {
tx.Rollback() // No job found, rollback
return // No more jobs
return // No more jobs
}
// Run the job