Skip to content

GitHub Action for creating an image build event in Upwind.

License

Notifications You must be signed in to change notification settings

upwindsecurity/create-image-build-event-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}