Skip to content
Snippets Groups Projects
Commit b54dea56 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

build-args: nuxt_app_base_url to base_url

parent 0471414c
No related branches found
No related tags found
1 merge request!7K8s deploy
Pipeline #111487 canceled with stages
in 7 seconds
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
......@@ -23,7 +23,7 @@ stages:
- i=0; while [ "$i" -lt 12 ]; do docker info && break; sleep 5; i=$(( i + 1 )) ; done
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$CI_COMMIT_SHORT_SHA" --build-arg "NUXT_APP_BASE_URL=/wiki/" -f $DOCKERFILE $CONTEXT
- docker build --pull -t "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$CI_COMMIT_SHORT_SHA" --build-arg "BASE_URL=/wiki/" -f $DOCKERFILE $CONTEXT
- docker push "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$CI_COMMIT_SHORT_SHA"
# build:
......
......@@ -14,8 +14,8 @@ export default defineNuxtConfig({
devtools: {
enabled: false
},
// app: {
// baseURL: '/wiki',
// }
app: {
baseURL: '/wiki',
}
})
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment