Skip to content

Commit

Permalink
Add: Build and Push Container and Helm Chart for opensight
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalholthaus committed Apr 24, 2024
1 parent 0d4b8e6 commit eee99d0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Push Container and Helm Chart

on:
push:
branches: [ main ]
tags: ["v*"]
pull_request:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
packages: write
id-token: write
pull-requests: write

jobs:
building:
name: Ospd Openvas
uses: greenbone/workflows/.github/workflows/helm-container-build-push-3rd-gen.yml@main
with:
build-docker-file: ./.docker/prod.Dockerfile
build-args: VERSION=${{ contains(github.ref_type, 'tag') && 'stable' || 'edge' }}
helm-chart: openvasd
image-url: ${{ github.repository }}
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.base.name=greenbone/openvas-scanner
scout: true
secrets: inherit

0 comments on commit eee99d0

Please sign in to comment.