Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GettingStartedWithModernCpp
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Formations
Cpp
GettingStartedWithModernCpp
Commits
9dfeec1b
Commit
9dfeec1b
authored
3 years ago
by
GILLES Sebastien
Browse files
Options
Downloads
Patches
Plain Diff
CI: the Dockerfile was not properly modified for both new targets.
parent
a207a8f2
No related branches found
No related tags found
No related merge requests found
Pipeline
#249276
passed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
9dfeec1b
...
@@ -38,7 +38,7 @@ build_fedora:
...
@@ -38,7 +38,7 @@ build_fedora:
script
:
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
-
docker build -f docker/Dockerfile
_full
-t $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:latest .
-
docker build -f docker/Dockerfile
.fedora
-t $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:latest .
-
docker container prune
-
docker container prune
-
docker push $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:${TAG}
-
docker push $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:${TAG}
-
if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:latest; fi
-
if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/fedora_for_tp:latest; fi
...
@@ -51,7 +51,7 @@ build_boost:
...
@@ -51,7 +51,7 @@ build_boost:
script
:
script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
# Latest is always generated but not pushed if ${UPDATE_LATEST_TAG} is not "True"
-
docker build -f docker/Dockerfile
_full
-t $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:latest .
-
docker build -f docker/Dockerfile
.boost
-t $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:${TAG} -t $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:latest .
-
docker container prune
-
docker container prune
-
docker push $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:${TAG}
-
docker push $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:${TAG}
-
if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:latest; fi
-
if [ "${UPDATE_LATEST_TAG}" == "True" ]; then docker push $CI_REGISTRY/$CI_PROJECT_PATH/with_boost:latest; fi
\ No newline at end of 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