2020-09-23 06:32:50 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: deploy to hub.docker.com
|
|
|
|
steps:
|
2020-09-25 10:43:35 +00:00
|
|
|
- name: run shellcheck
|
|
|
|
image: debian:buster
|
|
|
|
commands:
|
|
|
|
- apt update
|
|
|
|
- apt install -y shellcheck
|
|
|
|
- shellcheck plugin.sh
|
2020-09-23 06:32:50 +00:00
|
|
|
- name: docker push
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
2022-01-17 14:35:19 +00:00
|
|
|
from_secret: docker_reg_username_coopcloud
|
2020-09-23 06:32:50 +00:00
|
|
|
password:
|
2022-01-17 14:35:19 +00:00
|
|
|
from_secret: docker_reg_passwd_coopcloud
|
|
|
|
repo: thecoopcloud/stack-ssh-deploy
|
2020-09-25 10:43:41 +00:00
|
|
|
tags: latest
|
2020-09-23 06:32:50 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
2022-01-17 14:40:10 +00:00
|
|
|
event:
|
|
|
|
- push
|