Skip to content

Publish Pre-release Docker Image by @alex-yau-ttd #42

Publish Pre-release Docker Image by @alex-yau-ttd

Publish Pre-release Docker Image by @alex-yau-ttd #42

name: Release UID2 Admin Image
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} Docker Image by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: The type of release
options:
- Major
- Minor
- Patch
- Snapshot
vulnerability_severity:
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised. Must be one of ['CRITICAL', 'CRITICAL,HIGH' or 'CRITICAL,HIGH,MEDIUM'] (without space in between).
type: string
default: 'CRITICAL,HIGH'
jobs:
Image:
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-java-to-docker-versioned.yaml@v2
with:
release_type: ${{ inputs.release_type }}
cloud_provider: default
vulnerability_severity: ${{ inputs.vulnerability_severity }}
secrets: inherit