2020-09-23 06:32:50 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-01-21 19:13:13 +00:00
|
|
|
name: build & publish image
|
2020-09-23 06:32:50 +00:00
|
|
|
steps:
|
2020-09-25 10:43:35 +00:00
|
|
|
- name: run shellcheck
|
2023-01-20 08:17:30 +00:00
|
|
|
image: debian:bullseye
|
2020-09-25 10:43:35 +00:00
|
|
|
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:
|
2023-01-21 19:13:13 +00:00
|
|
|
username: 3wordchant
|
2020-09-23 06:32:50 +00:00
|
|
|
password:
|
2023-01-21 19:13:13 +00:00
|
|
|
from_secret: git_coopcloud_tech_token_3wc
|
|
|
|
repo: git.coopcloud.tech/coop-cloud/stack-ssh-deploy
|
2020-09-25 10:43:41 +00:00
|
|
|
tags: latest
|
2023-01-21 19:13:13 +00:00
|
|
|
registry: git.coopcloud.tech
|
2020-09-23 06:32:50 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
2022-01-17 14:40:10 +00:00
|
|
|
event:
|
|
|
|
- push
|