Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kaniko-demo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HelmutTestGroup
kaniko-demo
Commits
cad811c1
Commit
cad811c1
authored
4 years ago
by
Helmut Hutzler
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
e5b8602c
No related branches found
No related tags found
No related merge requests found
Pipeline
#7303
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
with
7 additions
and
2 deletions
.gitlab-ci.yml
+
7
−
2
View file @
cad811c1
variables
:
variables
:
CI_REGISTRY
:
kube-master-h1.informatik.fh-nuernberg.de/test
# Harbor parameters for our k3s test cluster
CI_REGISTRY
:
kube-master-h1.informatik.fh-nuernberg.de/k3s-harbor-test
CI_REGISTRY_USER
:
helmut
CI_REGISTRY_USER
:
helmut
CI_REGISTRY_PASSWORD
:
Helmut123
CI_REGISTRY_PASSWORD
:
Helmut123
# Parameters for TH Habor installation maintained by Alex
# CI_REGISTRY: https://harbor.informatik.fh-nuernberg.de
# CI_REGISTRY_USER: robot$$hutzler+harbor
# CI_REGISTRY_PASSWORD: N7mdAbZXfTTWg9PNkAT2kIjjxC18cbQC
stages
:
stages
:
-
build
-
build
...
@@ -11,7 +16,7 @@ stages:
...
@@ -11,7 +16,7 @@ stages:
build
:
build
:
stage
:
build
stage
:
build
before_script
:
before_script
:
-
export CI_REGISTRY_IMAGE=
"kube-master-h1.informatik.fh-nuernberg.de/test
/"$CI_PROJECT_NAME"-"$CI_ENVIRONMENT_NAME
-
export CI_REGISTRY_IMAGE=
$CI_REGISTRY"
/"$CI_PROJECT_NAME"-"$CI_ENVIRONMENT_NAME
-
export IMAGE_ESCAPED=$(echo $CI_REGISTRY_IMAGE | sed -r -e 's/\//\\\//g')
-
export IMAGE_ESCAPED=$(echo $CI_REGISTRY_IMAGE | sed -r -e 's/\//\\\//g')
-
echo $IMAGE_ESCAPED
-
echo $IMAGE_ESCAPED
-
echo $CI_REGISTRY_IMAGE
-
echo $CI_REGISTRY_IMAGE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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