-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (36 loc) · 1.36 KB
/
codebreaker-api.yml
File metadata and controls
41 lines (36 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CodeBreaker API Container App
on:
push:
branches:
[ main ]
paths:
- 'src/services/api/CodeBreaker.APIs/**'
- '.github/workflows/codebreaker-api.yml'
- '.github/workflows/api-build-shared.yml'
- '.github/workflows/api-publish-shared.yml'
workflow_dispatch:
jobs:
build:
uses: codebreakerapp/codebreakermini/.github/workflows/api-build-shared.yml@main
with:
version-prefix: 2.0.2
version-suffix: preview.${{ github.run_number }}
containerimage-name: 'codebreakerapi'
solution-path: 'src/CodeBreaker.APIs.sln'
registry: 'codebreakercontainerregistrythrive2023a1.azurecr.io'
secrets:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
deploy:
uses: codebreakerapp/codebreakermini/.github/workflows/api-publish-shared.yml@main
needs: build
with:
containerimage-name: 'codebreakerapi'
app-name: 'codebreaker-api'
registryname: 'codebreakercontainerregistrythrive2023a1'
registryserver: 'codebreakercontainerregistrythrive2023a1.azurecr.io'
resource-group: 'thrive2023a'
secrets:
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
CODEBREAKERAPI_AZURE_CREDENTIALS: ${{ secrets.CODEBREAKERAPI_AZURE_CREDENTIALS }}