Remove unnecessary command during frontend container run
All checks were successful
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Successful in 32s
All checks were successful
Podman Rootless Demo / test-backend (push) Has been skipped
Podman Rootless Demo / test-frontend (push) Has been skipped
Podman Rootless Demo / build-backend (push) Has been skipped
Podman Rootless Demo / build-frontend (push) Has been skipped
Podman Rootless Demo / deploy-prod (push) Successful in 32s
This commit is contained in:
parent
77c371c702
commit
cdd0bd2b3a
2 changed files with 3 additions and 5 deletions
|
|
@ -128,7 +128,7 @@ jobs:
|
||||||
|
|
||||||
test-frontend:
|
test-frontend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
# if: false
|
if: false
|
||||||
#needs: test-backend
|
#needs: test-backend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -176,7 +176,7 @@ jobs:
|
||||||
|
|
||||||
build-frontend:
|
build-frontend:
|
||||||
runs-on: [ci]
|
runs-on: [ci]
|
||||||
# if: false
|
if: false
|
||||||
#needs: [test-backend, test-frontend]
|
#needs: [test-backend, test-frontend]
|
||||||
needs: [test-frontend]
|
needs: [test-frontend]
|
||||||
|
|
||||||
|
|
@ -212,7 +212,7 @@ jobs:
|
||||||
|
|
||||||
deploy-prod:
|
deploy-prod:
|
||||||
runs-on: [prod]
|
runs-on: [prod]
|
||||||
needs: [build-frontend]
|
# needs: [build-frontend]
|
||||||
#needs: [build-backend, build-frontend]
|
#needs: [build-backend, build-frontend]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -111,8 +111,6 @@ spec:
|
||||||
|
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: ${REGISTRY_HOST}/${APP_NAME}/sharenet-frontend:${IMAGE_TAG}
|
image: ${REGISTRY_HOST}/${APP_NAME}/sharenet-frontend:${IMAGE_TAG}
|
||||||
command: ["npm"]
|
|
||||||
args: ["run", "start:fast"] # next start --hostname 0.0.0.0 --port ${PORT:-3000}
|
|
||||||
# Security: drop all capabilities, read-only root filesystem
|
# Security: drop all capabilities, read-only root filesystem
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue