Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into vsukhin/feature/git-h…
Browse files Browse the repository at this point in the history
…eader
  • Loading branch information
vsukhin committed Mar 29, 2023
2 parents 90d5d73 + 3ccbf30 commit ec8adc3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 42 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,32 @@ jobs:
version: latest
args: release -f .goreleaser.yml
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

- name: getting Tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Editing helm-release repo with version based on a Tag pushed.
run: |
# Setting up Git:
git clone https://kubeshop-bot:[email protected]/kubeshop/helm-charts
cd ./helm-charts
git config user.name "kubeshop-bot"
git config user.email "[email protected]"
# Calling chart releaser script by passing needed folder name:
# E.G. in order to relase api-server":
# -->> ./chart_releaser.sh --helm-chart-folder api-server
export GH_PUSH_TOKEN
export RELEASE_VERSION
cd ./scripts
./chart_releaser.sh --helm-chart-folder testkube-operator --main-chart false
env:
GH_PUSH_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
41 changes: 0 additions & 41 deletions .github/workflows/testkube_operator_helm-releaser.yaml

This file was deleted.

0 comments on commit ec8adc3

Please sign in to comment.