feat: add initial multi-environment CI/CD pipeline POC #1
@@ -82,23 +82,3 @@ jobs:
|
|||||||
aquasec/trivy:latest \
|
aquasec/trivy:latest \
|
||||||
image --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed ci-image:latest
|
image --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed ci-image:latest
|
||||||
|
|
||||||
summary:
|
|
||||||
name: Generate Summary
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: [lint, build, security-scan]
|
|
||||||
if: always()
|
|
||||||
steps:
|
|
||||||
- name: Create summary
|
|
||||||
run: |
|
|
||||||
cat << 'SUMMARY' >> $GITEA_HOME/workflow/summary
|
|
||||||
## CI Pipeline Results
|
|
||||||
|
|
||||||
| Job | Status |
|
|
||||||
|-----|--------|
|
|
||||||
| Lint | ${{ needs.lint.result }} |
|
|
||||||
| Build | ${{ needs.build.result }} |
|
|
||||||
| Security Scan | ${{ needs.security-scan.result }} |
|
|
||||||
|
|
||||||
**Commit:** ${{ gitea.sha }}
|
|
||||||
**Branch:** ${{ gitea.ref_name }}
|
|
||||||
SUMMARY
|
|
||||||
|
|||||||
Reference in New Issue
Block a user