forked from caduvieira/portal.docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refatoração do código para melhor entendimento Adição de novas tags para identificação e link com repositório Troca do Haproxy pelo Varnish Cache
- Loading branch information
Showing
10 changed files
with
224 additions
and
70 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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
#!/bin/bash | ||
#!/bin/bash | ||
shopt -s extglob | ||
|
||
for i in $( ls docker); do | ||
case "$i" in | ||
*-test ) ;; | ||
* ) docker build -t unixelias/plone.idg:$i docker/$i && docker push unixelias/plone.idg:$i ;; | ||
esac | ||
case "$i" in | ||
*-test ) ;; | ||
* ) docker build -t unixelias/plone.idg:$i \ | ||
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||
--build-arg VCS_REF=`git rev-parse --short HEAD` docker/$i \ | ||
&& docker push unixelias/plone.idg:$i ;; | ||
esac | ||
done | ||
|
||
# docker build -t unixelias/plone.idg:1.1.5-dev \ | ||
# --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||
# --build-arg VCS_REF=`git rev-parse --short HEAD` docker/1.1.5-dev \ | ||
# && docker push unixelias/plone.idg:1.1.5-dev |
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
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
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
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
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
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
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
Oops, something went wrong.