-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93bf457
commit e476598
Showing
2 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
# Get the directory containing the script | ||
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
# Change the current directory to the apps directory | ||
cd "$dir/Apps" | ||
|
||
# Define constant image details | ||
user="dleclercpro" | ||
app="eda-playground" | ||
release="v1.1.0" | ||
|
||
# Build app images | ||
docker build -t $user/$app-broker:$release -f BrokerApp.Dockerfile . | ||
docker build -t $user/$app-order:$release -f OrderApp.Dockerfile . | ||
docker build -t $user/$app-payment:$release -f PaymentApp.Dockerfile . | ||
docker build -t $user/$app-delivery:$release -f DeliveryApp.Dockerfile . | ||
|
||
# Push app images to Dockerhub | ||
docker push $user/$app-broker:$release | ||
docker push $user/$app-order:$release | ||
docker push $user/$app-payment:$release | ||
docker push $user/$app-delivery:$release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters