-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (36 loc) · 1.16 KB
/
pr.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
name: radix-public-site-pr
on:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build docker image
working-directory: public-site
env:
REF: ${{ github. sha }}
run: docker build -t radix-public-site:${REF##*/} .
validate-radixconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Get Azure principal token for Radix'
run: |
echo "::add-mask::$token"
echo "APP_SERVICE_ACCOUNT_TOKEN=hello-world" >> $GITHUB_ENV
- name: 'Validate public-site'
uses: equinor/radix-github-actions@v1
with:
args: validate radix-config --config-file radixconfig.yaml
- name: 'Validate example radix-app'
uses: equinor/radix-github-actions@v1
with:
args: validate radix-config --config-file examples/radix-app/radixconfig.yaml
- name: 'Validate oauth example radix-app'
uses: equinor/radix-github-actions@v1
with:
args: validate radix-config --config-file examples/radix-example-oauth-proxy/radixconfig.yaml