Compare commits

...

2 commits

Author SHA1 Message Date
ec98aa54a0
fix(deps): update module github.com/alecthomas/kong to v1.10.0
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2025-04-03 17:07:19 +00:00
b680dfaa19
chore(ci): add own registry to buildx config
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/deploy unknown status
2025-04-03 19:00:25 +02:00
3 changed files with 23 additions and 13 deletions

View file

@ -1,12 +1,25 @@
steps: variables:
- name: docker - publish_mirror: &publish_mirror
image: woodpeckerci/plugin-docker-buildx from_secret: DOCKER_MIRROR_URL
settings: - publish_logins: &publish_logins
registry: git.ar21.de - registry:
from_secret: DOCKER_MIRROR_URL
username:
from_secret: DOCKER_MIRROR_USER
password:
from_secret: DOCKER_MIRROR_PASS
- registry: git.ar21.de
username: username:
from_secret: REGISTRY_USER from_secret: REGISTRY_USER
password: password:
from_secret: REGISTRY_PASS from_secret: REGISTRY_PASS
steps:
- name: docker
image: woodpeckerci/plugin-docker-buildx
settings:
mirror: *publish_mirror
logins: *publish_logins
repo: git.ar21.de/yolokube/country-geo-locations repo: git.ar21.de/yolokube/country-geo-locations
platforms: platforms:
- linux/amd64 - linux/amd64
@ -20,11 +33,8 @@ steps:
- name: docker-staging - name: docker-staging
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
registry: git.ar21.de mirror: *publish_mirror
username: logins: *publish_logins
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASS
repo: git.ar21.de/yolokube/country-geo-locations repo: git.ar21.de/yolokube/country-geo-locations
platforms: platforms:
- linux/amd64 - linux/amd64

2
go.mod
View file

@ -3,7 +3,7 @@ module git.ar21.de/yolokube/country-geo-locations
go 1.23.3 go 1.23.3
require ( require (
github.com/alecthomas/kong v1.9.0 github.com/alecthomas/kong v1.10.0
github.com/go-chi/chi/v5 v5.2.1 github.com/go-chi/chi/v5 v5.2.1
github.com/go-chi/render v1.0.3 github.com/go-chi/render v1.0.3
github.com/hashicorp/go-memdb v1.3.5 github.com/hashicorp/go-memdb v1.3.5

4
go.sum
View file

@ -2,8 +2,8 @@ github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
github.com/alecthomas/kong v1.9.0 h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs= github.com/alecthomas/kong v1.10.0 h1:8K4rGDpT7Iu+jEXCIJUeKqvpwZHbsFRoebLbnzlmrpw=
github.com/alecthomas/kong v1.9.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU= github.com/alecthomas/kong v1.10.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=