Skip to content

fix frontend buid and simplify actions #1066

fix frontend buid and simplify actions

fix frontend buid and simplify actions #1066

Triggered via push March 20, 2025 21:30
Status Failure
Total duration 8m 37s
Artifacts 3
Evaluate modules to build
7s
Evaluate modules to build
Evaluate environments to deploy
2s
Evaluate environments to deploy
Frontend  /  Build and push docker image
1m 10s
Frontend / Build and push docker image
Metabase  /  Copy metabase image from dockerhub to GAR
Metabase / Copy metabase image from dockerhub to GAR
Backend  /  test-containers
21s
Backend / test-containers
DVH Mock  /  Show parameters
3s
DVH Mock / Show parameters
DVH Mock  /  Deploy to dev-gcp
0s
DVH Mock / Deploy to dev-gcp
Metabase  /  Show parameters
Metabase / Show parameters
Frontend  /  Deploy to dev-gcp
0s
Frontend / Deploy to dev-gcp
Metabase  /  Deploy to dev-gcp
Metabase / Deploy to dev-gcp
Frontend  /  Deploy to prod-gcp
0s
Frontend / Deploy to prod-gcp
Metabase  /  Deploy to prod-gcp
Metabase / Deploy to prod-gcp
Backend  /  Build and push docker image
1m 14s
Backend / Build and push docker image
Backend  /  Deploy to dev-gcp
0s
Backend / Deploy to dev-gcp
Backend  /  Deploy to prod-gcp
0s
Backend / Deploy to prod-gcp
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 4 notices
Frontend / Build and push docker image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
Frontend / Build and push docker image
Failed during image build. Is your docker_context set to where your build files are?
Frontend / Build and push docker image
Process completed with exit code 1.
FROM --platform flag should not use a constant value: resources/images/nada-backend/Dockerfile#L13
FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" More info: https://docs.docker.com/go/dockerfile/rule/from-platform-flag-const-disallowed/
The 'as' keyword should match the case of the 'from' keyword: resources/images/nada-backend/Dockerfile#L1
FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
Frontend / Build and push docker image
project_id is deprecated and should not be set, please remove from your workflow. The Github environment variable will be removed from the organization in the future
Frontend / Build and push docker image
identity_provider is deprecated and should not be set, please remove from your workflow. The Github environment variable will be removed from the organization in the future
Backend / Build and push docker image
project_id is deprecated and should not be set, please remove from your workflow. The Github environment variable will be removed from the organization in the future
Backend / Build and push docker image
identity_provider is deprecated and should not be set, please remove from your workflow. The Github environment variable will be removed from the organization in the future

Artifacts

Produced during runtime
Name Size Digest
nada-backend
18.5 MB
sha256:2dadf8bf54d2a3fe470eb0d4e43fd317d421de3f01258698e0b4553608b17b49
navikt~nada-markedsplassen~LXZK9X.dockerbuild
69.7 KB
sha256:9dc5989a3101e3fab78acbce0197054a8b973911bfbb5fa51950b68cb6bb2496
navikt~nada-markedsplassen~VZHED9.dockerbuild
8.27 KB
sha256:eae48f0a8e3af65d955e88a4c442ff47bd564571aa9f3747cc66cdb98d52eecb