chroe: removed test
This commit is contained in:
@@ -15,7 +15,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
description: 'Release tag (semver, e.g. 1.2.3)'
|
description: "Release tag (semver, e.g. 1.2.3)"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
@@ -84,14 +84,6 @@ jobs:
|
|||||||
tags: scan-target:${{ inputs.tag }}
|
tags: scan-target:${{ inputs.tag }}
|
||||||
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache
|
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ gitea.repository }}:buildcache
|
||||||
|
|
||||||
- name: Scan image with Trivy
|
|
||||||
uses: aquasecurity/trivy-action@master
|
|
||||||
with:
|
|
||||||
image-ref: scan-target:${{ inputs.tag }}
|
|
||||||
format: table
|
|
||||||
exit-code: '1'
|
|
||||||
severity: CRITICAL,HIGH
|
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user