Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
name: Pipeline
on:
push:
branches:
- main
workflow_dispatch:
inputs:
docker_registry:
description: Docker registry
required: true
default: 'ghcr.io'
type: choice
options:
- 'ghcr.io'
- 'quay.io'
registry_org:
description: Docker registry organisation
required: true
default: 'ministryofjustice'
type: choice
options:
- 'ministryofjustice'
- 'hmpps'
additional_docker_tag:
description: Additional docker tag that can be used to specify stable tags
required: false
default: ''
type: string
push:
description: Push docker image to registry flag
required: true
default: true
type: boolean
permissions:
contents: read
packages: write
jobs:
test_docker_build:
name: Build docker image from hmpps-github-actions
uses: ministryofjustice/hmpps-github-actions/.github/workflows/test_docker_build.yml@feat/HEAT-344-share-app-version-across-jobs

Check failure on line 45 in .github/workflows/test_docker_image_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_docker_image_build.yml

Invalid workflow file

error parsing called workflow ".github/workflows/test_docker_image_build.yml" -> "ministryofjustice/hmpps-github-actions/.github/workflows/test_docker_build.yml@feat/HEAT-344-share-app-version-across-jobs" : failed to fetch workflow: workflow was not found.
secrets: inherit
with:
docker_registry: ${{ inputs.docker_registry || 'quay.io' }}
registry_org: ${{ inputs.registry_org || 'hmpps' }}
additional_docker_tag: ${{ inputs.additional_docker_tag }}
push: ${{ inputs.push || true }}