Skip to content

Updates setup-terraform version on tfplan README #278

Updates setup-terraform version on tfplan README

Updates setup-terraform version on tfplan README #278

Workflow file for this run

name: Docker Image Scanning
on:
pull_request:
push:
paths:
- "action.yaml"
- "docker-image/*"
- ".github/test_files/**"
branches:
- "main"
tags: ["v*.*.*"]
env:
APP: mondoo-test
VERSION: 0.1.0
jobs:
docker-build-scan-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v5
with:
context: ./.github/test_files/
load: true
tags: |
${{env.APP}}:${{env.VERSION}}
- name: Scan Docker Image
uses: ./docker-image
with:
image: ${{env.APP}}:${{env.VERSION}}
service-account-credentials: ${{ secrets.MONDOO_SERVICE_ACCOUNT }}