Skip to content

Commit 4abd30d

Browse files
committed
bsc docker image on ghcr.io
Solves #199
1 parent 1c4cba5 commit 4abd30d

File tree

4 files changed

+40
-17
lines changed

4 files changed

+40
-17
lines changed

.github/workflows/publish_container_images.yml

+18
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,21 @@ jobs:
3838
context: bridges/stellar-evm
3939
tags: ${{ steps.metatstellarevmbridge.outputs.tags }}
4040
labels: ${{ steps.metatstellarevmbridge.outputs.labels }}
41+
42+
- name: Extract metadata for bscchain-mainnet docker
43+
id: metatbscchain
44+
uses: docker/metadata-action@v4
45+
with:
46+
images: ghcr.io/threefoldfoundation/bscchain-mainnet
47+
tags: |
48+
type=semver,pattern={{version}}
49+
50+
- name: Build and push the bscchain-mainnet container
51+
uses: docker/build-push-action@v3
52+
with:
53+
push: true
54+
no-cache: true
55+
context: bsc/bridges/stellar/bsc-docker
56+
tags: ${{ steps.metatbscchain.outputs.tags }}
57+
labels: ${{ steps.metatbscchain.outputs.labels }}
58+

bsc/bridges/stellar/helmchart/tftbscbridge/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: tftbscbridge
33
description: TFT stellar-bsc bridge
44
type: application
5-
version: 0.2.6
5+
version: 0.2.7
66
appVersion: "1.3.4"

bsc/bridges/stellar/helmchart/tftbscbridge/templates/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ spec:
9090
mountPath: /storage
9191
{{ end }}
9292
- name: lightnode
93-
image: threefolddev/bnbchain-main:1.2.8
94-
imagePullPolicy: IfNotPresent
93+
image: "{{ .Values.bscNodeImage.repository }}:{{ .Values.bscNodeImage.tag | default .Chart.AppVersion }}"
94+
imagePullPolicy: {{ .Values.bscNodeImage.pullPolicy }}
9595
ports:
9696
- name: ws
9797
containerPort: 8546

bsc/bridges/stellar/helmchart/tftbscbridge/values.yaml

+19-14
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@ replicaCount: 1
77
image:
88
repository: stellarbridge
99
pullPolicy: IfNotPresent
10-
tag: ''
10+
tag: ""
11+
12+
bscNodeImage:
13+
repository: ghcr.io/threefoldfoundation/bscchain-mainnet
14+
pullPolicy: IfNotPresent
15+
tag: "1.4.3"
1116

1217
imagePullSecrets: []
13-
nameOverride: ''
14-
fullnameOverride: ''
18+
nameOverride: ""
19+
fullnameOverride: ""
1520

1621
serviceAccount:
1722
# Specifies whether a service account should be created
@@ -20,7 +25,7 @@ serviceAccount:
2025
annotations: {}
2126
# The name of the service account to use.
2227
# If not set and create is true, a name is generated using the fullname template
23-
name: ''
28+
name: ""
2429

2530
podAnnotations: {}
2631

@@ -39,25 +44,25 @@ securityContext:
3944
global:
4045

4146
# should be provided on startup
42-
stellar_secret: 'SDPYTGXR5AVMRC7RPGHICR33A76QUAJPJA344DM3TIATZ6PUBMGPVWE4'
47+
stellar_secret: "SDPYTGXR5AVMRC7RPGHICR33A76QUAJPJA344DM3TIATZ6PUBMGPVWE4"
4348
# testnet or production
44-
network: 'testnet'
49+
network: "testnet"
4550

4651
# json content for the account json file
4752
account_json: |-
48-
account_password: 'test123'
53+
account_password: "test123"
4954
# smart-chain-testnet or smart-chain-mainnet
50-
eth_network: 'smart-chain-testnet'
55+
eth_network: "smart-chain-testnet"
5156
# production: 0x8f0FB159380176D324542b3a7933F0C2Fd0c2bbf
52-
contract_address: '0xa5900c87f25851A4ABaD0c2bFFf3ad3Ee852BC80'
57+
contract_address: "0xa5900c87f25851A4ABaD0c2bFFf3ad3Ee852BC80"
5358
# production: 0xa4E8d413004d46f367D4F09D6BD4EcBccfE51D33
54-
ms_contract_address: '0x6B5507633eBa86E202b1385d47415d6e2c51937D'
59+
ms_contract_address: "0x6B5507633eBa86E202b1385d47415d6e2c51937D"
5560
# production: GBFFWXWBZDILJJAMSINHPJEUJKB3H4UYXRWNB4COYQAF7UUQSWSBUXW5
56-
bridge_master_address: 'GAAIZXWNMODKAPITN7E2CSYOJUWJSKGE6CYGYZFEZI7ZBNLD5WXABB2V'
61+
bridge_master_address: "GAAIZXWNMODKAPITN7E2CSYOJUWJSKGE6CYGYZFEZI7ZBNLD5WXABB2V"
5762
# production: GAB73WDASF6VKA6IVJQT5DTNG64CILPMAZH4OHXKXPKA4WOBNNXCFJZQ
5863
# stellar_fee_wallet: "GBC3XAFKPN6RDL4MEDZCYS3GOP3ANRCHRY5722UUJ52RVVODVMMWAGTJ"
5964
is_follower: false
60-
eth_url: '/storage/geth.ipc'
65+
eth_url: "/storage/geth.ipc"
6166

6267
# Rescan from a certain blockheight
6368
# If set to 0, it will just take the current blockheight from the lightnode
@@ -85,7 +90,7 @@ resources:
8590
# memory: 128Mi
8691

8792
volume:
88-
existingpersistentVolumeClaim: 'pvc-bridge-local'
93+
existingpersistentVolumeClaim: "pvc-bridge-local"
8994
persistentVolume:
9095
create: false
9196

@@ -96,4 +101,4 @@ tolerations: []
96101
affinity: {}
97102

98103
threefoldVdc:
99-
backup: ''
104+
backup: ""

0 commit comments

Comments
 (0)