25 lines
499 B
YAML
25 lines
499 B
YAML
---
|
|
kind: pipeline
|
|
name: deploy to git.local-it.org
|
|
steps:
|
|
- name: run shellcheck
|
|
image: debian:buster
|
|
commands:
|
|
- apt update
|
|
- apt install -y shellcheck
|
|
- shellcheck plugin.sh
|
|
- name: docker push
|
|
image: plugins/docker
|
|
settings:
|
|
registry: git.local-it.org
|
|
repo: git.local-it.org/philipp/stack-ssh-deply
|
|
username: philipp
|
|
password:
|
|
from_secret: docker_registry
|
|
tags: latest
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|