Skip to content

PP-12715-container-insights #45

PP-12715-container-insights

PP-12715-container-insights #45

Workflow file for this run

name: Build and test
on:
workflow_call:
pull_request:
permissions:
contents: read
jobs:
detect-secrets:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Detect secrets
uses: alphagov/pay-ci/actions/detect-secrets@master
build-and-test:
name: Container Build Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Docker build
run: |
docker build -t pay-adot:github-tests .
- name: Run tests
working-directory: tests/
run: ./test.sh
check-docker-base-images-are-manifests:
uses: alphagov/pay-ci/.github/workflows/_validate_docker_image_is_manifest.yml@master