2023-07-17 09:58:38 +02:00
|
|
|
kind: pipeline
|
|
|
|
name: deploy
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
repo: aaronriedel/debug
|
|
|
|
tags: latest
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
- name: docker-build
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
repo: aaronriedel/debug
|
|
|
|
tags: latest
|
|
|
|
dry_run: true
|
|
|
|
when:
|
2023-09-24 04:27:05 +02:00
|
|
|
branch:
|
|
|
|
exclude:
|
2023-07-17 09:58:38 +02:00
|
|
|
- main
|
2023-09-24 04:27:05 +02:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
include:
|
|
|
|
- push
|