Skip to content

Example (audit mode) #15

Example (audit mode)

Example (audit mode) #15

Workflow file for this run

name: Example (audit mode)
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Start buildcage builder
id: buildcage
uses: dash14/buildcage/setup@v1
with:
proxy_mode: audit
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: remote
endpoint: tcp://localhost:${{ steps.buildcage.outputs.port }}
- name: Create test Dockerfile
run: |
mkdir -p /tmp/build-context
cat <<'EOF' > /tmp/build-context/Dockerfile
FROM node:24-alpine
WORKDIR /app
RUN npm init -y && npm install express
EOF
- name: Build test image
uses: docker/build-push-action@v6
with:
context: /tmp/build-context
push: false
no-cache: true
env:
DOCKER_BUILD_SUMMARY: false
DOCKER_BUILD_RECORD_UPLOAD: false
- name: Show proxy report
if: always()
uses: dash14/buildcage/report@v1