2020-11-14 21:27:16 +00:00
|
|
|
---
|
|
|
|
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
|
2020-11-14 21:40:15 +00:00
|
|
|
repo: 3wordchant/docker-cp-deploy
|
2020-11-14 21:27:16 +00:00
|
|
|
tags: latest
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
2022-03-07 12:51:59 +00:00
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|