Skip to content

increased limits, added busybox container to speed up cold starts, re… #6

increased limits, added busybox container to speed up cold starts, re…

increased limits, added busybox container to speed up cold starts, re… #6

Workflow file for this run

name: Docker Build & Scan
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
workflow_dispatch:
jobs:
docker:
name: Docker Build & Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: ./backend
push: false
load: true
tags: integr8scode:test
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: 'integr8scode:test'
format: 'table'
exit-code: '1'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
timeout: '5m0s'