2020-09-23 08:32:50 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-12 14:45:07 +01:00
|
|
|
name: deploy to git.local-it.org
|
2020-09-23 08:32:50 +02:00
|
|
|
steps:
|
2020-09-25 12:43:35 +02:00
|
|
|
- name: run shellcheck
|
|
|
|
image: debian:buster
|
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt install -y shellcheck
|
|
|
|
- shellcheck plugin.sh
|
2020-09-23 08:32:50 +02:00
|
|
|
- name: docker push
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
2023-01-12 14:38:56 +01:00
|
|
|
registry: git.local-it.org
|
|
|
|
repo: git.local-it.org/philipp/stack-ssh-deply
|
|
|
|
username: philipp
|
2020-09-23 08:32:50 +02:00
|
|
|
password:
|
2023-01-12 14:38:56 +01:00
|
|
|
from_secret: docker_registry
|
2020-09-25 12:43:41 +02:00
|
|
|
tags: latest
|
2020-09-23 08:32:50 +02:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
2022-01-17 15:40:10 +01:00
|
|
|
event:
|
|
|
|
- push
|