-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
En el nuevo approach la idea es que no vamos a hacer imagenes base, enterprise y community. Esta imagen genera imagen para tener odoo pero sin odoo
- Loading branch information
1 parent
bc1a7bb
commit 4deda14
Showing
4 changed files
with
19 additions
and
59 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# Version control tags | ||
# We append BUILD_DATE to the image tag. | ||
|
||
BUILD_DATE=`date -u +%Y.%m.%d` | ||
|
||
TAG="$DOCKER_REPO:$DOCKER_TAG" | ||
NEWTAG="$TAG.$BUILD_DATE" | ||
|
||
if [ ! -z "$BUILD_TAG_COMMUNITY" ]; then | ||
docker tag "$TAG" "$NEWTAG" | ||
docker push "$NEWTAG" | ||
fi | ||
|
||
if [ ! -z "$BUILD_TAG_ENTERPRISE" ]; then | ||
docker tag "$TAG-enterprise" "$NEWTAG-enterprise" | ||
docker push "$NEWTAG-enterprise" | ||
fi | ||
docker tag "$TAG" "$NEWTAG" | ||
docker push "$NEWTAG" |
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,10 +1,4 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
if [ ! -z "$BUILD_TAG_COMMUNITY" ]; then | ||
docker push "$DOCKER_REPO:$DOCKER_TAG" | ||
fi | ||
|
||
if [ ! -z "$BUILD_TAG_ENTERPRISE" ]; then | ||
docker push "$DOCKER_REPO:$DOCKER_TAG-enterprise" | ||
fi | ||
docker push "$DOCKER_REPO:$DOCKER_TAG" |