Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
social
SoMeDi Use Case - Lateral
Commits
5fdf994e
Commit
5fdf994e
authored
Nov 03, 2017
by
Alberto Pascual
Browse files
makefiles version container
parent
61a06e7e
Pipeline
#429
passed with stages
in 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
5fdf994e
...
...
@@ -8,13 +8,13 @@ include .makefiles/base.mk
include
.makefiles/k8s.mk
build-web
:
##
Build a specific version (e.g. build-2.7)
docker build
-t
'
$(IMAGENAMEWEB)
'
-f
demo/Dockerfile demo/
;
docker build
-t
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
-f
demo/Dockerfile demo/
;
push-web
:
build-web
##
Push the "latest" tag to dockerhub
docker push
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
build-latest
:
##
Build a specific version (e.g. build-2.7)
docker build
-t
'
$(IMAGENAME)
'
-f
Dockerfile .
;
docker build
-t
'
$(IMAGENAME)
:
$(VERSION)
'
-f
Dockerfile .
;
push-latest
:
build-latest
##
Push the "latest" tag to dockerhub
docker push
'
$(IMAGENAME)
:
$(VERSION)
'
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment