Skip to content

Commit

Permalink
tweaking actions
Browse files Browse the repository at this point in the history
  • Loading branch information
humandecoded committed Apr 23, 2024
1 parent a4e6ceb commit 271c98f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/push-to-main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: push-to-main
# This action will trigger whenever main gets updated
# success on this action would imply success when we push a release and files are generated
# triggers on PRs or direct commits to main or dev branches
#a github action that will trigger on push to main or dev branch
# will run the build_tracelabsiso_recipe.sh script inside a kali docker container
on:
push:
branches:
- main
- dev # Added the dev branch her
- dev # Added the dev branch here

jobs:
run-docker:
# Specifies that the job runs on an Ubuntu environment
# Specifies that the job runs on a macOS environment
runs-on: macos-12

# checkout the code from the repository
steps:
- uses: actions/checkout@v4

# Sets up Docker environment
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# Sets up Docker environment on macOS runner
- name: Set up Docker
uses: docker/setup-docker@v2

# uses the build in container option to build the vm files
# this test only checks the default build but others should work
# use docker to run the build_tracelabsiso_recipe.sh script
- name: Run Docker command
run: |
cd $GITHUB_WORKSPACE
Expand Down

0 comments on commit 271c98f

Please sign in to comment.