This is a normal go project so just execute go build
.
To build a docker image with the latest git tag as version:
docker build -t tftstellarbscbridge:$(git describe --abbrev=0 --tags | sed 's/^v//') .
In the frontend
folder execute
docker build -t bsc-bridge-ui:$(git describe --abbrev=0 --tags | sed 's/^v//') . --no-cache
On an Apple Silicon chip, add --platform linux/amd64
Create a folder packagedcharts
or empty it if it already exists.
Depending on which charts are updated execute the following commands in the `packagedcharts folder:
helm package ./../helmchart/tftbscbridge
helm package ./../frontend/helm/bsc-bridge-ui
curl -O https://raw.githubusercontent.com/threefoldfoundation/helmcharts/main/index.yaml
helm repo index . --merge index.yaml --url https://github.com/threefoldfoundation/tft/releases/download/$(git describe --abbrev=0 --tags)
Upload the helm package in the release and the replace the index.yaml
file in github at threefoldfoundation/helmcharts/index.yaml
.