chore(deps): update dependencytrack/frontend docker tag to v4.12.1 #1022
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Charts | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.8.1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.6.1 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "changed=true" >> $GITHUB_OUTPUT | |
fi | |
- name: Run chart-testing (lint) | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config ct.yaml | |
- name: Create kind cluster | |
uses: helm/kind-action@v1.7.0 | |
if: steps.list-changed.outputs.changed == 'true' | |
- name: Run chart-testing (install) | |
run: ct install --config ct.yaml | |
- name: Helm add repo dependencies | |
run: while read -r line; do echo helm repo add $line | grep = | sed 's/- //g' | sed 's/=/ /g' | bash; done < ct.yaml | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.5.0 | |
if: github.ref == 'refs/heads/master' | |
env: | |
CR_TOKEN: "${{ secrets.CR_TOKEN }}" |