new build system
This commit is contained in:
parent
6f14bc146b
commit
22d35084bb
1 changed files with 16 additions and 8 deletions
24
.drone.yml
24
.drone.yml
|
@ -2,26 +2,34 @@ kind: pipeline
|
||||||
name: deploy
|
name: deploy
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: thegeeklab/drone-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
registry: git.ar21.de
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: REGISTRY_PASS
|
||||||
repo: aaronriedel/php-apache-mysql
|
repo: git.ar21.de/aaron/php-apache-mysql
|
||||||
tags: latest
|
tags: latest
|
||||||
|
platforms:
|
||||||
|
- linux/arm64
|
||||||
|
- linux/amd64
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
- name: docker-build
|
- name: docker-build
|
||||||
image: plugins/docker
|
image: thegeeklab/drone-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
|
registry: git.ar21.de
|
||||||
username:
|
username:
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: REGISTRY_USER
|
||||||
password:
|
password:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: REGISTRY_PASS
|
||||||
repo: aaronriedel/php-apache-mysql
|
repo: git.ar21.de/aaron/php-apache-mysql
|
||||||
tags: latest
|
tags: latest
|
||||||
|
platforms:
|
||||||
|
- linux/arm64
|
||||||
|
- linux/amd64
|
||||||
dry_run: true
|
dry_run: true
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue