Skip to content
lock

GitHub Action

aikido-scanner

1.0.19 Latest version

aikido-scanner

lock

aikido-scanner

scans with aikido.dev

Installation

Copy and paste the following snippet into your .yml file.

              

- name: aikido-scanner

uses: gusfune/aikido-scanner@1.0.19

Learn more about this action in gusfune/aikido-scanner

Choose a version

action-aikido-scan

This action setup Aikido CLI and allows automatic scanning images.

Input

inputs:
  arch:
    description: |
      defines the architecture of the runner
      default is: linux_X86_64
      accepts: linux_X86_64 | darwin_ARM64
    default: linux_X86_64
  api_key:
    description: |
      the API Key genererated in aikido
    required: true
  image_name:
    description: |
      name of your image in the local repository
    required: true

Usage

name: Pull Request
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  workflow_dispatch:

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - name: Scan
        uses: gusfune/aikido-scanner@1.0.19
        with:
          api_key: ${{ secrets.AIKIDO_API_KEY }}
          arch: linux_X86_64
          image_name: hello