stack-ssh-deploy/.drone.yml

25 lines
520 B
YAML

---
kind: pipeline
name: build & publish image
steps:
- name: run shellcheck
image: debian:bullseye
commands:
- apt update
- apt install -y shellcheck
- shellcheck plugin.sh
- name: docker push
image: plugins/docker
settings:
username: 3wordchant
password:
from_secret: git_coopcloud_tech_token_3wc
repo: git.coopcloud.tech/coop-cloud/stack-ssh-deploy
tags: latest
registry: git.coopcloud.tech
trigger:
branch:
- main
event:
- push