Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
trinhpham committed Oct 12, 2024
1 parent 8f15b80 commit d82bbe5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/weekly-scanner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,29 @@ jobs:
helm show chart "$OCI_REGISTRY/$CHART_NAME" --version "$LATEST_TAG" &> /dev/null
if [ $? -ne 0 ]; then
echo "helm-ver=$LATEST_TAG" >> $GITHUB_OUTPUT
exit 0
else
echo "Tag $LATEST_TAG exists already. Stop here!"
fi
echo "Stop here"
exit 1
shell: bash

- name: Clone repo ${{ matrix.key }}
if: steps.check-exist.outputs.helm-ver != ''
uses: actions/checkout@v3
with:
repository: ${{ matrix.key }}
ref: ${{ steps.check-exist.outputs.tag-ref }}
path: ./target_repo

- name: Login to OCI registry
if: steps.check-exist.outputs.helm-ver != ''
run: |
helm registry login \
--username ${{ secrets.DOCKER_USERNAME }} \
--password ${{ secrets.DOCKER_PASSWORD }} \
registry-1.docker.io
- name: Publish chart ${{ matrix.key }}
if: steps.check-exist.outputs.helm-ver != ''
env:
REPO_INFO: ${{ toJSON(matrix.value) }} # path to repositories, chart_paths, and tag_regex
REPO_NAME: ${{ matrix.key }}
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This publisher attempts to scan and release valuable Helm charts that have not y

## The registry

All these charts will be distributed to Docker Hub in OCI format. Your usage can be as simple as:
All these charts will be distributed to [Docker Hub](https://hub.docker.com/u/ez4devcharts) in OCI format. Your usage can be as simple as:

```yaml
dependencies:
Expand All @@ -17,3 +17,9 @@ dependencies:
## Contribution
Your PRs are welcome. Feel free to add your repository or help me enhance the workflow.
## TODO
- [ ] Support build from branch
- [ ] Support latest tag
- [ ] PR validator

0 comments on commit d82bbe5

Please sign in to comment.