Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/build-react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
working-directory: react

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: lts/*
registry-url: https://npm.intility.com/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
run:
working-directory: docusaurus
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 20
registry-url: https://npm.intility.com/
Expand All @@ -34,7 +34,7 @@ jobs:
run: npm run build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
with:
path: docusaurus/build

Expand All @@ -56,4 +56,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
4 changes: 2 additions & 2 deletions .github/workflows/publish-dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0
with:
dotnet-version: "9.0.x"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
run:
working-directory: docusaurus
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-node@v6
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 20
registry-url: https://npm.intility.com/
Expand Down
13 changes: 0 additions & 13 deletions docusaurus/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion dotnet/iwebapi/.github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
id-token: write
packages: write
attestations: write
uses: intility/reusable-dotnet/.github/workflows/dotnet.yaml@v1.2.0
uses: intility/reusable-dotnet/.github/workflows/dotnet.yaml@8af9348bcc7bc58e62f7e2fe4b1a46c932347ecc # v1.2.0
with:
docker: ${{ github.event_name != 'pull_request' }}
2 changes: 1 addition & 1 deletion dotnet/iworker/.github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id-token: write
packages: write
attestations: write
uses: intility/reusable-dotnet/.github/workflows/dotnet.yaml@v1.2.0
uses: intility/reusable-dotnet/.github/workflows/dotnet.yaml@8af9348bcc7bc58e62f7e2fe4b1a46c932347ecc # v1.2.0
with:
directory: ./
docker: ${{ github.event_name != 'pull_request' }}
2 changes: 1 addition & 1 deletion react/.github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
packages: write
id-token: write
attestations: write
uses: intility/reusable-react/.github/workflows/react.yaml@v1.1.1
uses: intility/reusable-react/.github/workflows/react.yaml@d27705c0cb0641ffa68d59ac2d45af519528c70d # v1.1.1
with:
# image will be pushed to ghcr.io/intility/<project-name>/react-app
image-name: __DOCKER_IMAGE_NAME__
Expand Down
2 changes: 1 addition & 1 deletion react/.github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
packages: write
id-token: write
attestations: write
uses: intility/reusable-react/.github/workflows/react.yaml@v1.1.1
uses: intility/reusable-react/.github/workflows/react.yaml@d27705c0cb0641ffa68d59ac2d45af519528c70d # v1.1.1
with:
# image will be pushed to ghcr.io/intility/<project-name>/react-app
image-name: __DOCKER_IMAGE_NAME__
Expand Down
2 changes: 1 addition & 1 deletion react/.github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
packages: write
id-token: write
attestations: write
uses: intility/reusable-react/.github/workflows/react.yaml@v1.1.1
uses: intility/reusable-react/.github/workflows/react.yaml@d27705c0cb0641ffa68d59ac2d45af519528c70d # v1.1.1
with:
# image will be pushed to ghcr.io/intility/<project-name>/react-app
image-name: __DOCKER_IMAGE_NAME__
Expand Down
4 changes: 2 additions & 2 deletions react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM node:lts-slim as build
FROM node@sha256:d8e448a56fc63242f70026718378bd4b00f8c82e78d20eefb199224a4d8e33d8 as build # lts-slim
WORKDIR /src

# .npmrc should be pre-configured with the registry
Expand All @@ -16,7 +16,7 @@ RUN --mount=type=secret,id=NODE_AUTH_TOKEN,env=NODE_AUTH_TOKEN \
COPY . .
RUN npm run build

FROM ghcr.io/intility/nginx-unprivileged-react:2.5.1
FROM ghcr.io/intility/nginx-unprivileged-react@sha256:0e071176f68f689bd8b7fbdc30062af2b20f935e85c5a7daadec156c0277ea04 # 2.5.1

# Copy build files
COPY --from=build /src/dist /usr/share/nginx/html
2 changes: 1 addition & 1 deletion react/Dockerfile.CI
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile requires running `npm run build` on the host first
FROM ghcr.io/intility/nginx-unprivileged-react:2.5.1
FROM ghcr.io/intility/nginx-unprivileged-react@sha256:0e071176f68f689bd8b7fbdc30062af2b20f935e85c5a7daadec156c0277ea04 # 2.5.1

# Copy build files
COPY dist/ /usr/share/nginx/html
Loading