Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
reynico committed Oct 19, 2024
1 parent b9625c2 commit 9ff4474
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/test-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ jobs:
id: dotenv
uses: xom9ikk/dotenv@v2

- name: Prepare build args
id: prep
run: |
{
echo 'BUILD_ARGS<<EOF'
while IFS='=' read -r key value; do
if [[ ! -z "$key" && ! "$key" =~ ^# ]]; then
echo "${key}=${value}"
fi
done < .env
echo 'EOF'
} >> $GITHUB_OUTPUT
- name: Build container
uses: docker/build-push-action@v6
with:
Expand All @@ -44,8 +57,7 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
tags: theredguild/container-sec-tools:latest
build-args: |
T_GITXRAY=1.0.15
build-args: ${{ steps.prep.outputs.BUILD_ARGS }}

- name: Check disk space
run: df -h

0 comments on commit 9ff4474

Please sign in to comment.