rework workflows
Some checks failed
trivy-scan-image / trivy_image_scan (push) Failing after 1m31s

This commit is contained in:
2026-01-18 20:10:12 +01:00
parent 539af3dad2
commit e27b9d95ff
2 changed files with 5 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ env:
jobs: jobs:
release-image: release-image:
runs-on: ubuntu-latest runs-on: build-ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -8,9 +8,12 @@ on:
description: 'Tag für das zu scannende Docker-Image z.B. latest' description: 'Tag für das zu scannende Docker-Image z.B. latest'
required: true required: true
default: 'latest' default: 'latest'
schedule:
- cron: '45 1 * * 5'
env: env:
image_name: mysteryhelfer image_name: mysteryhelfer
image_tag: ${{ github.event.inputs.image_tag || 'latest' }}
registry_gitea: gitea.tebarius.duckdns.org registry_gitea: gitea.tebarius.duckdns.org
user: tebarius user: tebarius
@@ -26,4 +29,4 @@ jobs:
--scanners vuln,misconfig,secret \ --scanners vuln,misconfig,secret \
--severity MEDIUM,HIGH,CRITICAL \ --severity MEDIUM,HIGH,CRITICAL \
--ignore-unfixed \ --ignore-unfixed \
${{ env.registry_gitea }}/${{ env.user }}/${{ env.image_name }}:${{ github.event.inputs.image_tag }} ${{ env.registry_gitea }}/${{ env.user }}/${{ env.image_name }}:${{ env.image_tag }}