41 lines
No EOL
790 B
YAML
41 lines
No EOL
790 B
YAML
kind: pipeline
|
|
name: deploy
|
|
steps:
|
|
- name: docker
|
|
image: thegeeklab/drone-docker-buildx
|
|
settings:
|
|
registry: git.ar21.de
|
|
username:
|
|
from_secret: REGISTRY_USER
|
|
password:
|
|
from_secret: REGISTRY_PASS
|
|
repo: git.ar21.de/aaron/php-apache-mysql
|
|
tags: latest
|
|
platforms:
|
|
- linux/arm64
|
|
- linux/amd64
|
|
when:
|
|
branch:
|
|
- main
|
|
- name: docker-build
|
|
image: thegeeklab/drone-docker-buildx
|
|
settings:
|
|
registry: git.ar21.de
|
|
username:
|
|
from_secret: REGISTRY_USER
|
|
password:
|
|
from_secret: REGISTRY_PASS
|
|
repo: git.ar21.de/aaron/php-apache-mysql
|
|
tags: latest
|
|
platforms:
|
|
- linux/arm64
|
|
- linux/amd64
|
|
dry_run: true
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- main
|
|
when:
|
|
event:
|
|
include:
|
|
- push |