Skip to content

Commit bae35b6

Browse files
authored
build: fix publish action (#63)
1 parent 4d7d463 commit bae35b6

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.github/workflows/publish-chart.yaml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,42 @@
11
name: Publish chart
2+
23
on:
34
push:
45
tags:
56
- "*.*.*"
67
workflow_dispatch:
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
permissions:
14+
contents: read
15+
716
jobs:
817
publish-chart:
918
runs-on: ubuntu-latest
19+
1020
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-python@v4
21+
- name: Git checkout
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Setup Python
26+
uses: actions/setup-python@v4
1327
with:
1428
python-version: 3.11
15-
- uses: azure/setup-helm@v3
29+
- name: Setup Helm
30+
uses: azure/setup-helm@v3
1631
with:
1732
token: ${{secrets.GITHUB_TOKEN }}
18-
- name: install dependencies
33+
- name: Install dependencies
1934
run: pip install chartpress
35+
- name: Login to Docker Hub
36+
uses: docker/login-action@v3
37+
with:
38+
username: ${{ secrets.RENKU_DOCKER_USERNAME }}
39+
password: ${{ secrets.RENKU_DOCKER_PASSWORD }}
2040
- name: Publish chart
2141
env:
2242
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }}

0 commit comments

Comments
 (0)