Skip to content

Build and Publish Rocks workflows #1

Build and Publish Rocks workflows

Build and Publish Rocks workflows #1

Workflow file for this run

name: Build Rocks
on:
workflow_call:
inputs:
image-build-args:
description: |
List of build args to pass to the build image job
type: string
default: ""
registry:
description: Container Registrying top-level domain
type: string
default: ghcr.io
trivy-image-config:
type: string
description: Trivy YAML configuration for image testing that is checked in as part of the repo
working-directory:
type: string
description: The working directory for jobs
default: "./"
env:
REGISTRY: ${{ inputs.registry }}
OWNER: ${{ github.repository_owner }}
jobs:
get-runner-image:
name: Get runner image
uses: canonical/operator-workflows/.github/workflows/get_runner_image.yaml

Check failure on line 30 in .github/workflows/build_rock.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_rock.yaml

Invalid workflow file

invalid value workflow reference: no version specified
with:
working-directory: ${{ inputs.working-directory }}
build-rocks:
name: Build rock
uses: canonical/operator-workflows/.github/workflows/build_rocks.yaml
needs: get-runner-image
with:
owner: ${{ env.OWNER }}
registry: ${{ env.REGISTRY }}
runs-on: ${{ needs.get-runner-image.outputs.runs-on }}
trivy-image-config: ${{ inputs.trivy-image-config }}
working-directory: ${{ inputs.working-directory }}