Skip to content

Conversation

@achrafmag
Copy link
Contributor

Summary

Description of changes

-Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses.

-Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow

-Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py

Related issues

Draft Pull Request, does not target any particular issue

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 22, 2025
@behnazh-w behnazh-w marked this pull request as draft May 22, 2025 23:55
@behnazh-w behnazh-w changed the title chore: creating DockerNode for when Dockerfile is used as a build tool feat: add Dockerfile analysis for build command detection May 22, 2025
Changes: -Function find_dockerfile_from_job: handles finding Dockerfile inside workflow in 2 cases of workflow jobs: -run and -uses. -Simple DockerNode class, so far it stores mainly the dockerfile path retrieved from workflow -Parsing Dockerfile using dockerfile-parse and RUN instruction commands using bashparser.py -Parsing and storing build commands found in Dockerfiles Signed-off-by: Achraf Maghous <achraf.maghous@oracle.com>
@achrafmag achrafmag force-pushed the achrafmag-docker-node branch from 516f464 to 07dbd0a Compare June 25, 2025 10:49
@tromai tromai changed the base branch from staging to main June 25, 2025 23:51
@achrafmag achrafmag marked this pull request as ready for review July 3, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

1 participant