Compare commits

...

2 commits

Author SHA1 Message Date
561b21150a
chore(deps): update golang docker tag to v1.24.2
Some checks failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/deploy unknown status
2025-04-03 17:06:56 +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
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/country-geo-locations
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/country-geo-locations
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