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

chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 #130

chore(deps): bump actions/checkout from 4.1.6 to 4.1.7

chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 #130

# 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 }}"