2022-05-05 10:57:54 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: deploy
|
|
|
|
steps:
|
2023-09-24 04:19:01 +02:00
|
|
|
- name: docker
|
2022-05-05 10:57:54 +02:00
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
repo: aaronriedel/php-apache-mysql
|
2022-05-05 11:05:21 +02:00
|
|
|
tags: latest
|
|
|
|
when:
|
|
|
|
branch:
|
2022-05-05 11:21:06 +02:00
|
|
|
- main
|
|
|
|
- name: docker-build
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
repo: aaronriedel/php-apache-mysql
|
|
|
|
tags: latest
|
|
|
|
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
|