Skip to content

Merge pull request #161 from mmuyskens/patch-1 #67

Merge pull request #161 from mmuyskens/patch-1

Merge pull request #161 from mmuyskens/patch-1 #67

Workflow file for this run

# This is a basic workflow to test the creation of the ISO
name: master-Build
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Clean up some latent docker images
- name: Docker cleanup
run: |
sudo docker system prune --all -f;
sudo find /var/lib/docker/containers/ -type f -name “*.log” -delete
- name: Get Size information
run: df -h
- name: Clear up more space
run: |
sudo rm -rf /opt/hostedtoolcache
sudo rm -rf /opt/az
# Runs a single command using the runners shell
#- name: run the install
# run: wget -O - https://raw.githubusercontent.com/tracelabs/tlosint-live/dev/build_tracelabsiso_recipe.sh | sudo bash
# Runs a set of commands using the runners shell
- name: Run a multi-line script (build the ISO)
run: |
sudo bash $GITHUB_WORKSPACE/build_tracelabsiso_recipe.sh
zip kali-linux-rolling-live-tracelabs-amd64.zip /opt/kali-linux-rolling-live-tracelabs-amd64.iso
ls -lah kali-linux-rolling-live-tracelabs-amd64.zip