|
1 | 1 | name: Test |
2 | 2 |
|
| 3 | +run-name: ${{ inputs.correlation-id && format('Dispatch [{0}]', inputs.correlation-id) || 'Test' }} |
| 4 | + |
3 | 5 | on: |
4 | 6 | workflow_call: |
5 | 7 | secrets: |
|
27 | 29 | type: string |
28 | 30 | required: false |
29 | 31 |
|
| 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 | + |
30 | 70 | jobs: |
31 | 71 | load_configuration: |
32 | 72 | uses: ./.github/workflows/load-configuration.yml |
@@ -55,13 +95,27 @@ jobs: |
55 | 95 | with: |
56 | 96 | fetch-depth: 0 |
57 | 97 |
|
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 |
59 | 106 | uses: docker/login-action@v3 |
60 | 107 | with: |
61 | 108 | registry: docker.kurrent.io |
62 | 109 | username: ${{ secrets.CLOUDSMITH_CICD_USER }} |
63 | 110 | password: ${{ secrets.CLOUDSMITH_CICD_TOKEN }} |
64 | 111 |
|
| 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 | + |
65 | 119 | - name: Install dotnet SDKs |
66 | 120 | uses: actions/setup-dotnet@v3 |
67 | 121 | with: |
|
0 commit comments