Skip to content

Switch to OCR registry #18

Switch to OCR registry

Switch to OCR registry #18

Workflow file for this run

---
name: Release
"on":
push:
branches:
- 'main'
workflow_dispatch:
jobs:
gather:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- name: Clone current repository
uses: actions/checkout@v3
- name: Gather all folders
id: matrix
run: |
charts="value=["
for chart in $(ls -1 | grep -v -e LICENSE -e README.md); do
charts="${charts}\"${chart}\", "
done
charts="${charts}]"
echo "${charts}" >> $GITHUB_OUTPUT
- name: Debug
run: |
echo "${{ steps.matrix.outputs.value }}"
release:
runs-on: ubuntu-latest
needs:
- gather
strategy:
matrix:
value: $${{ fromJSON(needs.gather.outputs.matrix) }}
steps:
- name: Debug
run: |
echo "${{ matrix.value }}"
# - name: Clone current repository
# uses: actions/checkout@v3
#
# - name: Chart | Push
# uses: appany/[email protected]
# with:
# name: "${{ matrix.value }}"
# repository: tibeer
# tag: 1.0.0
# path: "./${{ matrix.value }}"
# registry: ghcr.io
# registry_username: ${{ github.repository_owner }}
# registry_password: ${{ github.token }}
# #update_dependencies: 'true'