Skip to content

Fix: Override default notification-channel #25

Fix: Override default notification-channel

Fix: Override default notification-channel #25

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:
push:
name: Build and push to self-hosted harbor
uses: greenbone/workflows/.github/workflows/container-build-push-2nd-gen.yml@main
with:
build-docker-file: .docker/Dockerfile
image-labels: |
org.opencontainers.image.vendor=Greenbone
org.opencontainers.image.documentation=https://greenbone.github.io/docs/
org.opencontainers.image.base.name=debian:stable-slim
image-url: community/greenbone-feed-sync
ref-name: ${{ inputs.ref-name }}
notification-channel: "pdfeeddeploymentnotification"

Check failure on line 28 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Build and Push to Greenbone Registry

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 28, Col: 29): Invalid input, notification-channel is not defined in the referenced workflow.
secrets: inherit