Skip to content

Commit e84ec4f

Browse files
committed
Updated Docker release workflow
1 parent 70bfd4b commit e84ec4f

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
name: Publish E2E Test Suites
2-
run-name: ${{ format('Publish E2E Test Suites{0} {1} Release', ':', inputs.release_type) }}
1+
name: Release UID2 E2E Image
2+
run-name: ${{ inputs.release_type == 'Snapshot' && 'Publish Pre-release' || format('Release {0}', inputs.release_type)}} Docker Image by @${{ github.actor }}
33
on:
44
workflow_dispatch:
55
inputs:
66
release_type:
77
type: choice
8-
description: 'The type of release'
8+
description: The type of release
99
options:
10-
- Major
11-
- Minor
12-
- Patch
1310
- Snapshot
14-
version_number_input:
15-
description: If set, the version number will not be incremented and the given number will be used.
16-
type: string
17-
default: ''
11+
- Patch
12+
- Minor
13+
- Major
14+
vulnerability_severity:
15+
description: The severity to fail the workflow if such vulnerability is detected. DO NOT override it unless a Jira ticket is raised.
16+
type: choice
17+
options:
18+
- CRITICAL,HIGH
19+
- CRITICAL,HIGH,MEDIUM
20+
- CRITICAL (DO NOT use if JIRA ticket not raised)
1821

1922
jobs:
2023
Image:
21-
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-docker-versioned.yaml@v2.8
24+
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-java-to-docker-versioned.yaml@v3
2225
with:
2326
release_type: ${{ inputs.release_type }}
24-
version_number_input: ${{ inputs.version_number_input }}
25-
java_version: '21'
26-
force_release: 'yes'
27+
vulnerability_severity: ${{ inputs.vulnerability_severity }}
28+
java_version: 21
2729
skip_tests: true
2830
secrets: inherit

0 commit comments

Comments
 (0)