-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (31 loc) · 956 Bytes
/
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
name: radix-public-site-pr
on:
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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:
- name: 'Get Azure principal token for Radix'
run: |
echo "APP_SERVICE_ACCOUNT_TOKEN=hello-world" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: 'Validate public-site'
uses: equinor/radix-github-actions@v1
with:
args: validate radix-config --config-file 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