Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/container-build-push-3rd-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ on:
description: "The name of the service to update. If not set, no service update will be done in the product compose files. Default is empty"
default: ""
type: string
automatix:
description: "Update Automatix. Default true."
default: "true"
type: string
image-labels:
description: "Image labels."
required: true
Expand Down Expand Up @@ -203,6 +207,9 @@ jobs:
*"skiron"*)
url="openvas-agent-dev/$(basename ${{ inputs.image-url }})"
;;
*"vuln-relay"*)
url="vuln-relay/$(basename ${{ inputs.image-url }})"
;;
*)
echo "No supported service in ${{ inputs.image-url }}"
exit 1
Expand Down Expand Up @@ -269,7 +276,7 @@ jobs:
-d '{"policy_id": 1}'

building-product-compose:
if: inputs.service && startsWith(github.ref, 'refs/tags/v')
if: inputs.service && startsWith(github.ref, 'refs/tags/v') && inputs.automatix == 'true'
needs:
- building-container-ghcr
- building-container-greenbone
Expand Down
Loading