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.1 in /.github/workflows #143
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
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 }}" |