Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated dependencies, pr #301

Merged
merged 2 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,27 @@ jobs:
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
4 changes: 2 additions & 2 deletions public-site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:20.9-alpine as builder
FROM docker.io/node:21-alpine3.18 as builder

WORKDIR /site
COPY ./docs .
RUN npm install
RUN npm run build

FROM nginxinc/nginx-unprivileged:1.25.2-alpine
FROM docker.io/nginxinc/nginx-unprivileged:1.25.2-alpine
WORKDIR /site
COPY --from=builder /site/src/.vuepress/dist /site
COPY nginx.conf /etc/nginx/conf.d/default.conf
Expand Down
2 changes: 1 addition & 1 deletion public-site/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.9-alpine
FROM docker.io/node:21-alpine3.18

WORKDIR /site
COPY ./docs/package.json ./docs/package-lock.json /site/
Expand Down
Loading
Loading