Compare commits

...

2 commits

Author SHA1 Message Date
a5188c5288
chore(deps): update golang docker tag to v1.24.2
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:11:24 +00:00
0306fd8c86
chore(ci): add own registry to buildx config
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
ci/woodpecker/push/deploy Pipeline was successful
2025-04-03 18:57:14 +02:00
4 changed files with 24 additions and 14 deletions

View file

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

View file

@ -1,12 +1,12 @@
steps:
- name: gofmt
image: golang:1.24.1
image: golang:1.24.2
commands:
- gofmt -l -s .
when:
- event: push
- name: vuln-check
image: golang:1.24.1
image: golang:1.24.2
commands:
- go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./...

View file

@ -1,6 +1,6 @@
steps:
- name: gotest
image: golang:1.24.1
image: golang:1.24.2
commands:
- go test ./...
when:

View file

@ -1,4 +1,4 @@
FROM golang:1.24.1-bookworm AS build
FROM golang:1.24.2-bookworm AS build
# Create build workspace folder
WORKDIR /workspace