Skip to content

151 pr 149 forces initcontainers for everyone (#152) #112

151 pr 149 forces initcontainers for everyone (#152)

151 pr 149 forces initcontainers for everyone (#152) #112

Workflow file for this run

name: Tagging
on:
push:
branches:
- master
jobs:
tagging:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: git tag
run: |
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
for chart in */Chart.yaml; do
chart=$(dirname $chart)
version=$(cat ${chart}/Chart.yaml | grep "version:" | awk '{ print $2 }')
if [ $(git tag -l "${chart}-${version}") ]; then
echo "tag "${chart}-${version}" -m "${chart}-${version}" exists";
else
git tag -a "${chart}-${version}" -m "${chart}-${version}" || true
fi
git push --tags "https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
done