Skip to content

Merge pull request #2325 from greenbone/dependabot/github_actions/cod… #368

Merge pull request #2325 from greenbone/dependabot/github_actions/cod…

Merge pull request #2325 from greenbone/dependabot/github_actions/cod… #368

Workflow file for this run

name: Build and Push to Greenbone Registry
on:
push:
branches: [ main ]
tags: ["v*"]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
ref-name:
type: string
description: "The ref to build a container image from. For example a tag v23.0.0."
required: true
jobs:
build:
name: Build and Push to Greenbone Registry
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
image-url: community/gvmd
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.base.name=greenbone/gvm-libs
ref-name: ${{ inputs.ref-name }}
secrets: inherit