Compare commits
2 commits
401340b9a4
...
38b4e11d1b
Author | SHA1 | Date | |
---|---|---|---|
38b4e11d1b | |||
7e04cf2b8e |
2 changed files with 5 additions and 53 deletions
44
.drone.yml
44
.drone.yml
|
@ -1,44 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: kubernetes
|
|
||||||
name: deploy
|
|
||||||
steps:
|
|
||||||
- name: docker
|
|
||||||
image: thegeeklab/drone-docker-buildx
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
registry: git.ar21.de
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USER
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASS
|
|
||||||
repo: git.ar21.de/aaron/debug
|
|
||||||
tags: latest
|
|
||||||
platforms:
|
|
||||||
- linux/arm64
|
|
||||||
- linux/amd64
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
- name: docker-build
|
|
||||||
image: thegeeklab/drone-docker-buildx
|
|
||||||
privileged: true
|
|
||||||
settings:
|
|
||||||
registry: git.ar21.de
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USER
|
|
||||||
password:
|
|
||||||
from_secret: REGISTRY_PASS
|
|
||||||
repo: git.ar21.de/aaron/debug
|
|
||||||
tags: latest
|
|
||||||
platforms:
|
|
||||||
- linux/arm64
|
|
||||||
- linux/amd64
|
|
||||||
dry_run: true
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- main
|
|
||||||
when:
|
|
||||||
event:
|
|
||||||
include:
|
|
||||||
- push
|
|
|
@ -14,8 +14,8 @@ steps:
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
when:
|
when:
|
||||||
branch:
|
- branch: main
|
||||||
- main
|
event: push
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
privileged: true
|
privileged: true
|
||||||
|
@ -32,10 +32,6 @@ steps:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
branch:
|
- branch:
|
||||||
exclude:
|
exclude: main
|
||||||
- main
|
event: push
|
||||||
when:
|
|
||||||
event:
|
|
||||||
include:
|
|
||||||
- push
|
|
Loading…
Reference in a new issue