Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 in /.github/workflows #141

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 in /.github/workflows

chore(deps): bump step-security/harden-runner from 2.8.1 to 2.9.0 in /.github/workflows #141

# References:
# - https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# - https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
# - https://github.com/intel/dffml/blob/main/.github/workflows/dispatch_build_images_containers.yml
name: "DFFML: Build: Images: Containers"
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- ".github/workflows/build_images_containers.yml"
- ".github/workflows/dffml_build_images_containers.yml"
- "Dockerfile"
- "**/*Dockerfile"
- "**/*.manifest.json"
push:
branches:
- main
paths:
- ".github/workflows/build_images_containers.yml"
- ".github/workflows/dffml_build_images_containers.yml"
- "Dockerfile"
- "**/*Dockerfile"
- "**/*.manifest.json"
permissions:
contents: read
jobs:
manifest:
runs-on: ubuntu-latest
outputs:
length: ${{ steps.create-manifest-instance.outputs.length }}
manifest: ${{ steps.create-manifest-instance.outputs.github_actions_manifest }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Build manifest from changed dockerfiles
uses: "./.github/actions/create_manifest_instance_build_images_containers"
id: create-manifest-instance
with:
prefix: '[".", "scripts", "dffml/skel/operations"]'
# TODO Drop non root dir once pinning rebuild chain is active
no_delta_prefix: '[".", "scripts", "dffml/skel/operations"]'
build:
needs: manifest
uses: "./.github/workflows/build_images_containers.yml"
if: ${{ fromJSON(needs.manifest.outputs.length) > 0 }}
with:
manifests: "${{ needs.manifest.outputs.manifest }}"