24 lines
475 B
YAML
24 lines
475 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_3wc
|
||
|
password:
|
||
|
from_secret: docker_reg_passwd_3wc
|
||
|
repo: 3wordchant/stack-ssh-deploy
|
||
|
tags: latest
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- main
|