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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@

jobs:
build:
uses: felleslosninger/github-workflows/.github/workflows/ci-build-publish-image.yml@main
uses: felleslosninger/github-workflows/.github/workflows/ci-build-publish-image.yml@0f16cc20ceef10b00b874f0cc2a0af29738fd2c9 # main
with:
image-name: kundetjenester-selvbetjening-web
application-type: docker
secrets: inherit

update-image:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
uses: felleslosninger/github-workflows/.github/workflows/ci-call-update-image.yml@main
uses: felleslosninger/github-workflows/.github/workflows/ci-call-update-image.yml@0f16cc20ceef10b00b874f0cc2a0af29738fd2c9 # main
needs: build
with:
application-name: selvbetjening-web
deployment-environment: systest
image-name: kundetjenester-selvbetjening-web
image-version: ${{ needs.build.outputs.image-version }}
image-digest: ${{ needs.build.outputs.image-digest }}
kubernetes-repo: kundetjenester-cd
product-name: sjolvbetjening
secrets: inherit

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
8 changes: 4 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '20'

Expand All @@ -47,10 +47,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3

- name: Build Docker image
run: docker build -t deski-frontend-test .
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24-alpine AS build
FROM node:24-alpine@sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14 AS build

WORKDIR /app

Expand All @@ -9,7 +9,7 @@ COPY . .
ENV NODE_ENV=production
RUN npm run build

FROM caddy:2-alpine
FROM caddy:2-alpine@sha256:77c07d5ebfa5be9fd6c820d2094ae662c9e7eeb9bf98346b7f639900263ee2a2

# Remove all capabilities from the Caddy binary to allow it to run in our
# OpenShift cluster, which runs containers with all capabilities dropped by
Expand Down
Loading