Update docker publishing script to use dedicated compose file
@@ -27,14 +27,14 @@ then
echo "Publishing release images for a tagged build"
echo "ISOLATION_ID is: $ISOLATION_ID"
# Push to dockerhub with the full tag e.g. (1.2.3)
- ISOLATION_ID=${REPO_VERSION} docker-compose -f docker-compose.yaml build
- ISOLATION_ID=${REPO_VERSION} docker-compose -f docker-compose.yaml push
+ ISOLATION_ID=${REPO_VERSION} docker-compose -f ci/publish-docker.yaml build
+ ISOLATION_ID=${REPO_VERSION} docker-compose -f ci/publish-docker.yaml push
# Push to dockerhub with just major/minor e.g. (1.2)
- ISOLATION_ID=${REPO_VERSION%.*} docker-compose -f docker-compose.yaml
- ISOLATION_ID=${REPO_VERSION%.*} docker-compose -f docker-compose.yaml
+ ISOLATION_ID=${REPO_VERSION%.*} docker-compose -f ci/publish-docker.yaml
+ ISOLATION_ID=${REPO_VERSION%.*} docker-compose -f ci/publish-docker.yaml
# Push to dockerhub with "latest"
- ISOLATION_ID="latest" docker-compose -f docker-compose.yaml build
- ISOLATION_ID="latest" docker-compose -f docker-compose.yaml push
+ ISOLATION_ID="latest" docker-compose -f ci/publish-docker.yaml build
+ ISOLATION_ID="latest" docker-compose -f ci/publish-docker.yaml push
exit 0
fi
@@ -49,5 +49,5 @@ fi
echo "Publishing main images for an untagged build"
echo "ISOLATION_ID is: $ISOLATION_ID"
-docker-compose -f docker-compose.yaml build splinter-ui-alpha
-docker-compose -f docker-compose.yaml push splinter-ui-alpha
+docker-compose -f ci/publish-docker.yaml build
+docker-compose -f ci/publish-docker.yaml push
