-
Notifications
You must be signed in to change notification settings - Fork 4
59 lines (55 loc) · 1.85 KB
/
octopub-audits.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Build Audits
permissions:
contents: write
packages: write
'on':
workflow_dispatch: {}
push:
paths:
- '**/*'
- '!.github/badges/*'
- '!README.md'
- '!python/**/*'
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Products Windows
uses: ./github/java-microservice-windows
with:
run_number: ${{ github.run_number }}
github_repo: ${{ github.repository }}
github_token: ${{ github.token }}
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
service_directory: audit-microservice
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build Audit Microservice
uses: ./github/java-microservice
with:
run_number: ${{ github.run_number }}
github_repo: ${{ github.repository }}
github_token: ${{ github.token }}
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_password: ${{ secrets.DOCKERHUB_TOKEN }}
octopus_url: ${{ secrets.DSC_OCTOPUS_URL }}
octopus_apikey: ${{ secrets.DSC_OCTOPUS_API }}
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
service_directory: audit-microservice
- name: Build Audits Helm Chart
uses: ./github/helm
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
chart_directory: octopub-audits-mysql
octopus_url: ${{ secrets.DSC_OCTOPUS_URL }}
octopus_apikey: ${{ secrets.DSC_OCTOPUS_API }}