initial draft
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: CD
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Increment tag
|
||||
id: increment-tag
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.0.10
|
||||
with:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
- name: Push tag
|
||||
run: |
|
||||
git tag ${{ steps.increment-tag.outputs.new-tag }}
|
||||
git push origin ${{ steps.increment-tag.outputs.new-tag }}
|
||||
@@ -0,0 +1,20 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
dry-run-setup-trivy:
|
||||
name: Dry-Run Setup Trivy
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
- linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Setup Trivy
|
||||
uses: ./setup-trivy
|
||||
with:
|
||||
version: latest
|
||||
architecture: amd64
|
||||
- name: Run Trivy
|
||||
run: trivy --version
|
||||
Reference in New Issue
Block a user