Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RegApp Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
KIT
reg-app
RegApp Docker
Commits
dc652554
Commit
dc652554
authored
1 year ago
by
Michael Simon
Browse files
Options
Downloads
Patches
Plain Diff
REGAPP-43 git syntax wrong. Stopped working
parent
a50ed5f2
No related branches found
No related tags found
No related merge requests found
Pipeline
#222944
passed
1 year ago
Stage: build
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
reg-app/Dockerfile
+1
-1
1 addition, 1 deletion
reg-app/Dockerfile
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
dc652554
...
...
@@ -27,6 +27,6 @@ build-job-schedule:
script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$DOCKER_REGISTRY\":{\"auth\":\"$(echo -n ${DOCKER_REGISTRY_USER}:${DOCKER_REGISTRY_PASSWORD} | base64)\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR/reg-app --build-arg CHECKOUT_NAME=branch-2.7 --build-arg CHECKOUT_BRANCH_NAME=local_branch-2.7 --dockerfile $CI_PROJECT_DIR/reg-app/Dockerfile --destination $DOCKER_REGISTRY_NAME:2.7-nightly
-
/kaniko/executor --context $CI_PROJECT_DIR/reg-app --build-arg CHECKOUT_NAME=
origin/
branch-2.7 --build-arg CHECKOUT_BRANCH_NAME=local_branch-2.7 --dockerfile $CI_PROJECT_DIR/reg-app/Dockerfile --destination $DOCKER_REGISTRY_NAME:2.7-nightly
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
This diff is collapsed.
Click to expand it.
reg-app/Dockerfile
+
1
−
1
View file @
dc652554
...
...
@@ -5,7 +5,7 @@ ARG CHECKOUT_BRANCH_NAME=$CHECKOUT_BRANCH_NAME
RUN
git clone https://gitlab.kit.edu/kit/reg-app/regapp.git
WORKDIR
/app/regapp
RUN
git fetch
--all
RUN
git checkout
$CHECKOUT_NAME
-b
$CHECKOUT_BRANCH_NAME
RUN
git checkout
-b
$CHECKOUT_BRANCH_NAME
$CHECKOUT_NAME
FROM
maven:3.6-openjdk-11-slim
AS
build
...
...
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