Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
dashboard-clock
Commits
590e36ae
Commit
590e36ae
authored
Dec 03, 2021
by
David Trattnig
Browse files
Fix docker commands, add info.
parent
552844ed
Changes
1
Show whitespace changes
Inline
Side-by-side
run.sh
View file @
590e36ae
...
...
@@ -10,8 +10,13 @@ docker="false"
# - dev
# - build
#
# - docker:dev
# - docker:prod
# - docker:build
# - docker:push
#
if
[[
$*
=
~ ^
(
dev|build|push
)
$
]]
;
then
if
[[
$*
=
~ ^
(
dev|
prod|
build|push
)
$
]]
;
then
mode
=
$1
fi
...
...
@@ -68,12 +73,12 @@ if [[ $docker == "true" ]]; then
### Create Docker Image from local project ###
if
[[
$mode
==
"build"
]]
;
then
docker build
-t
autoradio/
engine
-clock
.
docker build
-t
autoradio/
dashboard
-clock
.
fi
### Pushes the latest Docker Image to Docker Hub ###
if
[[
$mode
==
"push"
]]
;
then
docker push autoradio/
engine
-clock
docker push autoradio/
dashboard
-clock
fi
fi
\ No newline at end of file
Write
Preview
Supports
Markdown
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