Files
charts/.github/workflows/apps.release.yaml
Kjeld Schouten-Lebbing e5e4c0950c feat(security): Render security scan results during build (#1451)
* feat(security): Render security scan results during build.

* move devcontainer to tccr in workflows

* move vscode devcontainer to tccr

* add fake bump to force tests to actually run

* ok

* work on building docs out of the security scan

* slight fix

* try to output container scan data

* done

* whoops

* output container scan output to file (crude)

* temporaryily encapsulate trivy output with code tags

* add some console output while running security scans
2021-12-03 19:31:19 +01:00

53 lines
1.3 KiB
YAML

name: "Apps: Release"
on:
push:
branches:
- 'master'
tags-ignore:
- '**'
jobs:
release:
runs-on: ubuntu-latest
concurrency: gitpush
container:
image: tccr.io/truecharts/devcontainer:v2.1.0
steps:
- uses: actions/checkout@v2
name: Checkout
with:
fetch-depth: 100
token: ${{ secrets.BOT_TOKEN }}
- name: Checkout
uses: actions/checkout@v2
with:
repository: truecharts/catalog
token: ${{ secrets.BOT_TOKEN }}
path: catalog
- name: build-and-run
run: |
tools/build-release.sh -p --config .github/cr.yaml
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and Push new Helm Charts and docs
run: |
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
git add --all
git commit -sm "Commit released Helm Chart and docs for TrueCharts" || exit 0
git push
- name: Commit and Push new App releases
run: |
cd catalog
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
git add --all
git commit -sm "Commit new App releases for TrueCharts" || exit 0
git push