master #3
1 changed files with 32 additions and 34 deletions
|
@ -1,38 +1,36 @@
|
|||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/sebleh/docker_exporter
|
||||
tags: latest
|
||||
# platforms:
|
||||
# - linux/arm64
|
||||
# - linux/amd64
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/sebleh/docker_exporter
|
||||
tags: latest
|
||||
# platforms:
|
||||
# - linux/arm64
|
||||
# - linux/amd64
|
||||
dry_run: true
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
- main
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/sebleh/docker_exporter
|
||||
tags: latest
|
||||
# platforms:
|
||||
# - linux/arm64
|
||||
# - linux/amd64
|
||||
when:
|
||||
branch: main
|
||||
- name: docker-build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/sebleh/docker_exporter
|
||||
tags: latest
|
||||
# platforms:
|
||||
# - linux/arm64
|
||||
# - linux/amd64
|
||||
dry_run: true
|
||||
when:
|
||||
branch:
|
||||
exclude: main
|
||||
when:
|
||||
event: push
|
||||
|
|
Loading…
Add table
Reference in a new issue