docker-php-apache-mysql/.drone.yml

43 lines
830 B
YAML
Raw Normal View History

2022-05-05 10:57:54 +02:00
kind: pipeline
name: deploy
steps:
2023-09-24 04:19:01 +02:00
- name: docker
2024-02-05 01:39:24 +01:00
image: thegeeklab/drone-docker-buildx
2024-03-17 12:51:12 +01:00
privileged: true
2022-05-05 10:57:54 +02:00
settings:
2024-02-05 01:39:24 +01:00
registry: git.ar21.de
2022-05-05 10:57:54 +02:00
username:
2024-02-05 01:39:24 +01:00
from_secret: REGISTRY_USER
2022-05-05 10:57:54 +02:00
password:
2024-02-05 01:39:24 +01:00
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/php-apache-mysql
2022-05-05 11:05:21 +02:00
tags: latest
2024-02-05 01:39:24 +01:00
platforms:
2024-03-17 13:09:59 +01:00
#- linux/arm64
2024-02-05 01:39:24 +01:00
- linux/amd64
2022-05-05 11:05:21 +02:00
when:
branch:
- main
- name: docker-build
2024-02-05 01:39:24 +01:00
image: thegeeklab/drone-docker-buildx
2024-02-17 04:21:16 +01:00
privileged: true
settings:
2024-02-05 01:39:24 +01:00
registry: git.ar21.de
username:
2024-02-05 01:39:24 +01:00
from_secret: REGISTRY_USER
password:
2024-02-05 01:39:24 +01:00
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/php-apache-mysql
tags: latest
2024-02-05 01:39:24 +01:00
platforms:
2024-03-17 13:09:59 +01:00
#- linux/arm64
2024-02-05 01:39:24 +01:00
- linux/amd64
dry_run: true
when:
2023-09-24 04:19:01 +02:00
branch:
exclude:
2022-07-21 17:32:08 +02:00
- main
2023-09-24 04:19:01 +02:00
when:
event:
include:
- push