23 lines
462 B
YAML
23 lines
462 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: deploy to hub.docker.com
|
||
|
steps:
|
||
|
- name: run shellcheck
|
||
|
image: debian:buster
|
||
|
commands:
|
||
|
- apt update
|
||
|
- apt install -y shellcheck
|
||
|
- shellcheck plugin.sh
|
||
|
- name: docker push
|
||
|
image: plugins/docker
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: docker_reg_username
|
||
|
password:
|
||
|
from_secret: docker_reg_passwd
|
||
|
repo: decentral1se/drone-abra
|
||
|
tags: latest
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|