Skip to content

Commit 1a23301

Browse files
committed
Try this
1 parent 63194c2 commit 1a23301

1 file changed

Lines changed: 27 additions & 22 deletions

File tree

.github/workflows/release-chart.yaml

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
needs: chart-lint-test
1515
steps:
16-
- name: Checkout repository
16+
- name: Checkout code
1717
uses: actions/checkout@v6
1818
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
1920
fetch-depth: 0
2021

2122
- name: Cache Helm
@@ -60,8 +61,12 @@ jobs:
6061
- name: Update commit
6162
uses: EndBug/add-and-commit@v9
6263
with:
63-
author_name: GitHub Action
64-
author_email: 'action@github.com'
64+
#author_name: GitHub Action
65+
#author_email: 'action@github.com'
66+
#default_author: github_actor
67+
default_author: github_actions
68+
committer_name: GitHub Actions
69+
committer_email: actions@github.com
6570
add: 'chart/prometheus-msteams/Chart.yaml'
6671
message: |
6772
${{ steps.set-version.outputs.COMMIT_MSG }}
@@ -71,22 +76,22 @@ jobs:
7176
commit: '--amend'
7277
push: '--force-with-lease'
7378

74-
- name: Publish Helm Chart
75-
run: make helm-release
76-
env:
77-
VERSION: ${{ github.ref_name }}
78-
TAG: ${{ github.ref_name }}
79-
GIT_USER: ${{ vars.GHCR_USERNAME }}
80-
GIT_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
81-
HELM_REGISTRY: "${{ secrets.CONTAINER_REGISTRY_URL }}/charts"
82-
DOCKER_REPO_BASE: ${{ secrets.CONTAINER_REGISTRY_URL }}
83-
84-
- name: Publish Public Helm Chart
85-
run: make helm-release
86-
env:
87-
VERSION: ${{ github.ref_name }}
88-
TAG: ${{ github.ref_name }}
89-
GIT_USER: ${{ vars.GHCR_USERNAME }}
90-
GIT_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
91-
HELM_REGISTRY: "${{ secrets.CONTAINER_REGISTRY_URL }}/public/charts"
92-
DOCKER_REPO_BASE: ${{ secrets.CONTAINER_REGISTRY_URL }}/public
79+
#- name: Publish Helm Chart
80+
# run: make helm-release
81+
# env:
82+
# VERSION: ${{ github.ref_name }}
83+
# TAG: ${{ github.ref_name }}
84+
# GIT_USER: ${{ vars.GHCR_USERNAME }}
85+
# GIT_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
86+
# HELM_REGISTRY: "${{ secrets.CONTAINER_REGISTRY_URL }}/charts"
87+
# DOCKER_REPO_BASE: ${{ secrets.CONTAINER_REGISTRY_URL }}
88+
#
89+
#- name: Publish Public Helm Chart
90+
# run: make helm-release
91+
# env:
92+
# VERSION: ${{ github.ref_name }}
93+
# TAG: ${{ github.ref_name }}
94+
# GIT_USER: ${{ vars.GHCR_USERNAME }}
95+
# GIT_TOKEN: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
96+
# HELM_REGISTRY: "${{ secrets.CONTAINER_REGISTRY_URL }}/public/charts"
97+
# DOCKER_REPO_BASE: ${{ secrets.CONTAINER_REGISTRY_URL }}/public

0 commit comments

Comments
 (0)