Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
b54dea56
Commit
b54dea56
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
build-args: nuxt_app_base_url to base_url
parent
0471414c
No related branches found
No related tags found
1 merge request
!7
K8s deploy
Pipeline
#111487
canceled with stages
in 7 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
nuxt.config.ts
+3
-3
3 additions, 3 deletions
nuxt.config.ts
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
b54dea56
...
@@ -23,7 +23,7 @@ stages:
...
@@ -23,7 +23,7 @@ stages:
-
i=0; while [ "$i" -lt 12 ]; do docker info && break; sleep 5; i=$(( i + 1 )) ; done
-
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
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script
:
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"
-
docker push "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$CI_COMMIT_SHORT_SHA"
# build:
# build:
...
...
This diff is collapsed.
Click to expand it.
nuxt.config.ts
+
3
−
3
View file @
b54dea56
...
@@ -14,8 +14,8 @@ export default defineNuxtConfig({
...
@@ -14,8 +14,8 @@ export default defineNuxtConfig({
devtools
:
{
devtools
:
{
enabled
:
false
enabled
:
false
},
},
//
app: {
app
:
{
//
baseURL: '/wiki',
baseURL
:
'
/wiki
'
,
//
}
}
})
})
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment