Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shaman
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amine GHOZLANE
shaman
Commits
3809ba81
Commit
3809ba81
authored
Aug 19, 2019
by
Amine GHOZLANE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gitlab autodevs
parent
b05d6af6
Pipeline
#13861
failed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
.gitlab-ci.yml
.gitlab-ci.yml
+25
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
3809ba81
stages
:
-
build
build_dev
:
image
:
docker:latest
stage
:
build
variables
:
CI_DEBUG_TRACE
:
"
false"
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
-
docker build
--build-arg CI_COMMIT_REF_SLUG
--build-arg CI_COMMIT_SHA
--build-arg CI_COMMIT_SHORT_SHA
--cache-from "$CI_REGISTRY_IMAGE:latest"
--cache-from "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
--tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
--tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA"
--tag "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA"
.
-
docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
-
docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA"
-
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
-
docker push -t aghozlane/shaman
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment