Skip to content

Commit 63762c5

Browse files
w1amtimothycoleman
andcommitted
Add workflow dispatch
Co-authored-by: Timothy Coleman <[email protected]>
1 parent e9ff79f commit 63762c5

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

.github/workflows/base.yml

Whitespace-only changes.

.github/workflows/dispatch-ee.yml

Whitespace-only changes.

.github/workflows/test.yml

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Test
22

3+
run-name: ${{ inputs.correlation-id && format('Dispatch [{0}]', inputs.correlation-id) || 'Test' }}
4+
35
on:
46
workflow_call:
57
secrets:
@@ -27,6 +29,44 @@ on:
2729
type: string
2830
required: false
2931

32+
correlation-id:
33+
description: "Optional CorrelationId to identify the workflow run"
34+
type: string
35+
required: false
36+
37+
workflow_dispatch:
38+
inputs:
39+
runtime:
40+
description: "Runtime to test"
41+
required: true
42+
type: choice
43+
default: ci
44+
options:
45+
- previous-lts
46+
- lts
47+
- ci
48+
- qa
49+
50+
registry:
51+
description: "Docker registry to use"
52+
type: string
53+
required: false
54+
55+
image:
56+
description: "Docker image to use"
57+
type: string
58+
required: false
59+
60+
tag:
61+
description: "Docker image tag to use"
62+
type: string
63+
required: false
64+
65+
correlation-id:
66+
description: "Optional CorrelationId to identify the workflow run"
67+
type: string
68+
required: false
69+
3070
jobs:
3171
load_configuration:
3272
uses: ./.github/workflows/load-configuration.yml
@@ -55,13 +95,27 @@ jobs:
5595
with:
5696
fetch-depth: 0
5797

58-
- name: Login to Cloudsmith
98+
- name: Login to Cloudsmith via docker.cloudsmith.io
99+
uses: docker/login-action@v3
100+
with:
101+
registry: docker.cloudsmith.io
102+
username: ${{ secrets.CLOUDSMITH_CICD_USER }}
103+
password: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
104+
105+
- name: Login to Cloudsmith via docker.kurrent.io
59106
uses: docker/login-action@v3
60107
with:
61108
registry: docker.kurrent.io
62109
username: ${{ secrets.CLOUDSMITH_CICD_USER }}
63110
password: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
64111

112+
- name: Login to Cloudsmith via docker.eventstore.com
113+
uses: docker/login-action@v3
114+
with:
115+
registry: docker.eventstore.com
116+
username: ${{ secrets.CLOUDSMITH_CICD_USER }}
117+
password: ${{ secrets.CLOUDSMITH_CICD_TOKEN }}
118+
65119
- name: Install dotnet SDKs
66120
uses: actions/setup-dotnet@v3
67121
with:

0 commit comments

Comments
 (0)