From 02dec559aca2587fa4c77afbb28019e6eddfa1de Mon Sep 17 00:00:00 2001 From: gonzo Date: Thu, 8 Feb 2024 11:33:32 +0100 Subject: [PATCH] fix error on detect releases workflow, to properly update latest minor version in the case of a stable release. fix config file links in template_README, point to image-files folder as a source, rather than latest/stable Changes to be committed: modified: .github/workflows/detect-releases.yml modified: README.md modified: template_README.md --- .github/workflows/detect-releases.yml | 2 +- README.md | 2 +- template_README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/detect-releases.yml b/.github/workflows/detect-releases.yml index bc74d7c..a19a4cd 100644 --- a/.github/workflows/detect-releases.yml +++ b/.github/workflows/detect-releases.yml @@ -88,7 +88,7 @@ jobs: export STABLE_MINOR=$(echo $STABLE_VERSION | cut -d '.' -f1,2) # set LATEST export LATEST_VERSION=$(grep 'ENV IB_GATEWAY_VERSION=' $_latest_dockerfile | head -1 | cut -d '=' -f2) - export LATEST_MINOR=$(echo $STABLE_VERSION| cut -d '.' -f1,2) + export LATEST_MINOR=$(echo $LATEST_VERSION| cut -d '.' -f1,2) else echo "invalid channel: ${{ matrix.channel }}" exit 1 diff --git a/README.md b/README.md index 3b9e7aa..2659b81 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Images are provided for [IB gateway](https://github.com/users/gnzsnz/packages/co | Channel | IB Gateway Version | IBC Version | Docker Tags | | -------- | ------------------ | ----------- | --------------------------- | -| `latest` | `10.27.1e` | `3.18.0` | `latest` `10.19` `10.27.1e` | +| `latest` | `10.27.1e` | `3.18.0` | `latest` `10.27` `10.27.1e` | | `stable` | `10.19.2i` | `3.18.0` | `stable` `10.19` `10.19.2i` | All tags are available in the [container repository](https://github.com/gnzsnz?tab=packages&repo_name=ib-gateway-docker). IB Gateway and TWS share the same version numers and tags. diff --git a/template_README.md b/template_README.md index 47bbdab..ac35e29 100644 --- a/template_README.md +++ b/template_README.md @@ -222,8 +222,8 @@ For TWS image config file locations are: | App | Config file | Default | | ------- | -------------- | ---------------- | -| TWS | /opt/ibkr/jts.ini | [jts.ini](https://github.com/gnzsnz/ib-gateway-docker/blob/master/latest/config/ibgateway/jts.ini.tmpl) | -| IBC | /opt/ibc/config.ini | [config.ini](https://github.com/gnzsnz/ib-gateway-docker/blob/master/latest/config/ibc/config.ini.tmpl) | +| TWS | /opt/ibkr/jts.ini | [jts.ini](https://github.com/gnzsnz/ib-gateway-docker/blob/master/image-files/config/ibgateway/jts.ini.tmpl) | +| IBC | /opt/ibc/config.ini | [config.ini](https://github.com/gnzsnz/ib-gateway-docker/blob/master/image-files/config/ibc/config.ini.tmpl) | Sample settings: