Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
imaging_compress_pipeline
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
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
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LDV
imaging_compress_pipeline
Commits
f24214bc
Commit
f24214bc
authored
4 months ago
by
Timo Millenaar
Browse files
Options
Downloads
Patches
Plain Diff
Tag latest in docker_build instead of .gitlab-ci.yml
parent
429875a3
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!28
Tag latest in docker_build instead of .gitlab-ci.yml
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-1
0 additions, 1 deletion
.gitlab-ci.yml
docker/docker_build.sh
+1
-0
1 addition, 0 deletions
docker/docker_build.sh
with
1 addition
and
1 deletion
.gitlab-ci.yml
+
0
−
1
View file @
f24214bc
...
@@ -29,7 +29,6 @@ deploy:
...
@@ -29,7 +29,6 @@ deploy:
script
:
script
:
-
sh ./docker/docker_build.sh $CI_REGISTRY_IMAGE $CI_COMMIT_REF_NAME
-
sh ./docker/docker_build.sh $CI_REGISTRY_IMAGE $CI_COMMIT_REF_NAME
-
docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
-
docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
-
docker tag ${CI_REGISTRY_IMAGE} latest
-
docker push ${CI_REGISTRY_IMAGE}:latest
-
docker push ${CI_REGISTRY_IMAGE}:latest
-
git remote set-url origin git@${CI_SERVER_HOST}:${CI_PROJECT_PATH}.git
-
git remote set-url origin git@${CI_SERVER_HOST}:${CI_PROJECT_PATH}.git
-
find . -type f -name "*.cwl" -exec sed -i "s|git.astron.nl:5000/ldv/imaging_compress_pipeline:.*|git.astron.nl:5000/ldv/imaging_compress_pipeline:$CI_COMMIT_TAG|" {} +
-
find . -type f -name "*.cwl" -exec sed -i "s|git.astron.nl:5000/ldv/imaging_compress_pipeline:.*|git.astron.nl:5000/ldv/imaging_compress_pipeline:$CI_COMMIT_TAG|" {} +
...
...
This diff is collapsed.
Click to expand it.
docker/docker_build.sh
+
1
−
0
View file @
f24214bc
...
@@ -23,6 +23,7 @@ docker build \
...
@@ -23,6 +23,7 @@ docker build \
--progress
plain
\
--progress
plain
\
--file
docker/Dockerfile
\
--file
docker/Dockerfile
\
--tag
${
IMAGE_NAME
}
:
${
TAG
}
\
--tag
${
IMAGE_NAME
}
:
${
TAG
}
\
--tag
${
IMAGE_NAME
}
:latest
\
.
.
echo
"Succesfully build docker file"
echo
"Succesfully build docker file"
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