Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ci-docker-images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
infrastructure
ci-docker-images
Compare revisions
c1ae040a1a50cea4fede0d10cbe7ff3cb51a3b3b to 60cb022607a32bc3d76a62d202198e2305231fde
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
algorithms-library-toolkit/infrastructure/ci-docker-images
Select target project
No results found
60cb022607a32bc3d76a62d202198e2305231fde
Select Git revision
Branches
master
Swap
Target
algorithms-library-toolkit/infrastructure/ci-docker-images
Select target project
algorithms-library-toolkit/infrastructure/ci-docker-images
1 result
c1ae040a1a50cea4fede0d10cbe7ff3cb51a3b3b
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
ci: add correct docker:dind image path
· bfc37747
Tomáš Pecka
authored
2 years ago
Unverified
bfc37747
ci: simplify CI job file
· 60cb0226
Tomáš Pecka
authored
2 years ago
Unverified
60cb0226
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-18
7 additions, 18 deletions
.gitlab-ci.yml
with
7 additions
and
18 deletions
.gitlab-ci.yml
View file @
60cb0226
...
...
@@ -9,11 +9,17 @@ stages:
DOCKER_DRIVER
:
overlay2
DOCKER_HOST
:
docker
services
:
-
docker:dind
-
name
:
gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/docker:dind
alias
:
docker
before_script
:
-
apk add --no-cache docker
-
docker info
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
dependencies
:
[]
.push-only-job
:
&push-only-job
<<
:
*docker_template
stage
:
deploy
script
:
-
IMAGE="${CI_JOB_NAME#deploy:}"
-
IMAGE_NAME="${CI_REGISTRY_IMAGE}/${IMAGE}:latest"
...
...
@@ -21,26 +27,9 @@ stages:
-
echo "Building image '${IMAGE}' as '${IMAGE_NAME}'"
-
docker build -t "$IMAGE_NAME" .
-
docker push "$IMAGE_NAME"
dependencies
:
[]
.push-only-job
:
&push-only-job
<<
:
*docker_template
stage
:
deploy
.create-local-copy
:
©-job
stage
:
deploy
cache
:
{}
dependencies
:
[]
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_HOST
:
docker
services
:
-
name
:
gitlab.fit.cvut.cz:5000/algorithms-library-toolkit/infrastructure/ci-docker-images/docker-dind
alias
:
docker
before_script
:
-
apk add --no-cache docker
-
docker info
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
script
:
-
IMAGE="${CI_JOB_NAME#copy:}"
-
docker pull "${IMAGE}"
...
...
This diff is collapsed.
Click to expand it.