Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
75658e47
Commit
75658e47
authored
Mar 31, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use image name from compose file (v2 syntax)
parent
0ee65339
Pipeline
#8478
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
deploy.sh
build/scripts/deploy.sh
+1
-1
docker-compose.yml
docker-compose.yml
+1
-1
No files found.
build/scripts/deploy.sh
View file @
75658e47
...
...
@@ -10,7 +10,7 @@ CURRENT_VERSION=$(git describe --always)
docker login
--username
=
"
${
REGISTRY_USER
}
"
--password
=
"
${
REGISTRY_PASS
}
"
--email
reg@h17n.de
"
${
REGISTRY_HOST
}
"
# Create and push :latest
docker tag
"
${
COMPOSE_PROJECT_NAME
}
_php
"
"
${
IMAGE_NAME
}
"
:latest
docker tag
"
local/phd/app:
${
BUILD_PREFIX
}
"
"
${
IMAGE_NAME
}
"
:latest
docker push
"
${
IMAGE_NAME
}
"
:latest
# Create and push :<CURRENT_VERSION>
...
...
docker-compose.yml
View file @
75658e47
...
...
@@ -4,7 +4,7 @@ version: '2'
services
:
php
:
build
:
.
image
:
local/
myapp/ph
p:${BUILD_PREFIX}
image
:
local/
phd/ap
p:${BUILD_PREFIX}
depends_on
:
-
db
networks
:
...
...
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