Compare commits

...

2 commits

Author SHA1 Message Date
bbfdcd7f2c
chore(deps): update golangci/golangci-lint docker tag to v2
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
2025-04-03 17:07:22 +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
2 changed files with 21 additions and 11 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

View file

@ -13,7 +13,7 @@ steps:
when: when:
- event: push - event: push
- name: golangci-linter - name: golangci-linter
image: golangci/golangci-lint:v1.64.8 image: golangci/golangci-lint:v2.0.2
commands: commands:
- golangci-lint run ./... - golangci-lint run ./...
when: when: