This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
chore(deps): bump library/python from fce9bc7
to 2eedc86
in /.github/actions/create_manifest_instance_build_images_containers
#137
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@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.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 }}" |