Skip to content

Commit

Permalink
fix error on detect releases workflow, to properly update latest minor
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gnzsnz committed Feb 8, 2024
1 parent ab11040 commit 02dec55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/detect-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions template_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 02dec55

Please sign in to comment.