22 lines
654 B
YAML
22 lines
654 B
YAML
kind: pipeline
|
|
name: publish
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
steps:
|
|
- name: step1
|
|
image: alpine
|
|
commands:
|
|
- apk add perl git
|
|
- git show --name-only --pretty="format:" | grep '^charts'
|
|
- git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:'
|
|
- git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort | uniq
|
|
- changed_charts=$(git show --name-only --pretty="format:" | grep '^charts' | perl -pe 's:^([^/]*?/[^/]*?)/.*:$1:' | sort | uniq)
|
|
- echo $changed_charts
|
|
|
|
image_pull_secrets:
|
|
- dockerconfigjson
|