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
P
php-minimal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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
Docker
php-minimal
Commits
a9aff327
Commit
a9aff327
authored
Jul 26, 2018
by
David Danier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try2
parent
9f05651b
Pipeline
#11064
failed with stages
in 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
build/ci/login.sh
build/ci/login.sh
+0
-14
No files found.
.gitlab-ci.yml
View file @
a9aff327
...
...
@@ -7,7 +7,7 @@ stages:
-
login
-
build
build
:
login
:
stage
:
login
only
:
refs
:
...
...
build/ci/login.sh
deleted
100755 → 0
View file @
9f05651b
#!/bin/bash
set
-o
errexit
set
-o
pipefail
if
[
-z
"
$CI_REGISTRY
"
]
then
# outside gitlab ci runner
docker login docker.team23.de
BUILD_PROJECT_NAME
=
$(
basename
$(
pwd
)
)
BUILD_IMAGE_BASE
=
"docker.team23.de/docker/
$BUILD_PROJECT_NAME
"
else
# inside gitlab ci runner
docker login
-u
gitlab-ci-token
-p
"
$CI_JOB_TOKEN
"
"
$CI_REGISTRY
"
BUILD_IMAGE_BASE
=
"
$CI_REGISTRY
/
$CI_PROJECT_PATH
"
fi
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