new build system
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Aaron Riedel 2024-02-05 01:39:24 +01:00
parent 6f14bc146b
commit 22d35084bb
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -2,26 +2,34 @@ kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
image: thegeeklab/drone-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: DOCKER_USERNAME
from_secret: REGISTRY_USER
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/php-apache-mysql
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: plugins/docker
image: thegeeklab/drone-docker-buildx
settings:
registry: git.ar21.de
username:
from_secret: DOCKER_USERNAME
from_secret: REGISTRY_USER
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/php-apache-mysql
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/php-apache-mysql
tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
branch: