Skip to content
upwindsecurity

GitHub Action

Upwind Create Image Build Event

v2 Latest version

Upwind Create Image Build Event

upwindsecurity

Upwind Create Image Build Event

Create an image build event in Upwind

Installation

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

              

- name: Upwind Create Image Build Event

uses: upwindsecurity/create-image-build-event-action@v2

Learn more about this action in upwindsecurity/create-image-build-event-action

Choose a version

Create Image Build Event Action

Description

This GitHub Action creates an image build event in Upwind.

Inputs

Name Description Default Required
dry The execution mode of the action. Setting it to 'true' simulates event creation without executing it. 'false' false
image The image associated with the build event. true
image_sha The image SHA associated with the build event. true
upwind_api_endpoint The Management API endpoint. https://api.upwind.io false
upwind_auth_endpoint The Authentication API endpoint. https://auth.upwind.io false
upwind_client_id The client ID used for authentication with the Upwind Authorization Service. true
upwind_client_secret The client secret for authentication with the Upwind Authorization Service. true
upwind_organization_id The identifier of the Upwind organization associated with the event. true

Usage

name: Build
on:
  push:
    branches:
      - main
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Create Image Build Event
        uses: upwindsecurity/create-image-build-event-action@v2
        with:
          image: "<IMAGE_NAME>"
          image_sha: "<IMAGE_SHA>"
          upwind_client_id: ${{ secrets.UPWIND_CLIENT_ID }}
          upwind_client_secret: ${{ secrets.UPWIND_CLIENT_SECRET }}
          upwind_organization_id: ${{ secrets.UPWIND_ORGANIZATION_ID }}