Skip to content

Commit

Permalink
refactor: use local reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neumachen committed Dec 6, 2024
1 parent 1c7d786 commit 1e2b448
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-container-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
jobs:
bloodhound:
name: Build BloodHound Image
uses: SpecterOps/build-automation/.github/workflows/reusable.build-container-image.yml@main
uses: ./.github/workflows/reusable.build-container-image.yml
secrets:
dockerhub_account: ${{ secrets.dockerhub_account }}
dockerhub_token: ${{ secrets.dockerhub_token }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
lint-container-images:
name: Anaylze Dockerfiles
uses: SpecterOps/build-automation/.github/workflows/reusable.lint-container-image.yml@main
uses: ./.github/workflows/reusable.lint-container-image.yml
with:
build_automation_ref: main
secrets:
Expand All @@ -52,7 +52,7 @@ jobs:
docker load --input "/tmp/${{ inputs.bloodhound_image_tar_artifact_name }}.tar"
docker image ls
- name: Run Tests
- name: Lint Code
shell: bash
run: |-
docker run --rm specterops/bloodhound:${{ inputs.bloodhound_image_tar_artifact_name }} \
Expand All @@ -74,7 +74,7 @@ jobs:
docker load --input "/tmp/${{ inputs.bloodhound_image_tar_artifact_name }}.tar"
docker image ls
- name: Run Tests
- name: Lint Code
shell: bash
run: |-
docker run --rm specterops/bloodhound:${{ inputs.bloodhound_image_tar_artifact_name }} \
Expand Down

0 comments on commit 1e2b448

Please sign in to comment.