Skip to content

Commit 8930329

Browse files
committed
ci(pipeline): add artifacthub directory creation step
- Creates a new directory for storing artifacthub configuration files. - Adds a command to install the artifacthub repository configuration in the specified location.
1 parent 5926441 commit 8930329

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pipeline.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
run: |
171171
mkdir -p .artifacts/helm
172172
mkdir -p .artifacts/kubectl
173+
mkdir -p .artifacts/artifacthub
173174
174175
- name: helm - import README
175176
run: cp README.md ${{ env.helmChartDir }}/README.md
@@ -180,6 +181,9 @@ jobs:
180181
- name: helm - template chart
181182
run: helm template --namespace kube-system ${{ env.helmChart }} .artifacts/helm/${{ env.helmChart }}-${{ env.gitVersion_SemVer }}.tgz > .artifacts/kubectl/${{ env.helmChart }}.yaml
182183

184+
- name: helm - artifacthub - repo
185+
run: install -D src/helm/artifacthub-repo.yaml .artifacts/artifacthub/artifacthub-repo.yaml
186+
183187
- name: docker - build and push
184188
uses: docker/build-push-action@v5
185189
with:

0 commit comments

Comments
 (0)