29 lines
504 B
YAML
29 lines
504 B
YAML
---
|
|
kind: pipeline
|
|
name: linters
|
|
steps:
|
|
- name: run shellcheck
|
|
image: koalaman/shellcheck-alpine
|
|
commands:
|
|
- shellcheck backup.sh
|
|
|
|
- name: publish image
|
|
image: plugins/docker
|
|
settings:
|
|
auto_tag: true
|
|
username: thecoopcloud
|
|
password:
|
|
from_secret: thecoopcloud_password
|
|
repo: thecoopcloud/abra
|
|
tags: latest
|
|
depends_on:
|
|
- run shellcheck
|
|
when:
|
|
event:
|
|
exclude:
|
|
- pull_request
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|