Compare commits
2 commits
1caea0282f
...
c661320702
Author | SHA1 | Date | |
---|---|---|---|
c661320702 | |||
afa728ee58 |
2 changed files with 21 additions and 11 deletions
|
@ -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/go-traefik-certmanager
|
||||
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/go-traefik-certmanager
|
||||
platforms:
|
||||
- linux/amd64
|
||||
|
|
|
@ -13,7 +13,7 @@ steps:
|
|||
when:
|
||||
- event: [push, manual]
|
||||
- name: golangci-linter
|
||||
image: golangci/golangci-lint:v1.64.8
|
||||
image: golangci/golangci-lint:v2.0.2
|
||||
commands:
|
||||
- golangci-lint run ./...
|
||||
when:
|
||||
|
|
Loading…
Add table
Reference in a new issue