Skip to content

Commit

Permalink
update tbs and fbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jppade committed Aug 2, 2023
1 parent 758fb03 commit dd59306
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/services/filtersBlockService/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/services/filtersBlockService
go 1.17

require (
github.com/diadata-org/diadata v1.4.317-rc-1
github.com/diadata-org/diadata v1.4.317-rc-2
github.com/segmentio/kafka-go v0.4.35
github.com/sirupsen/logrus v1.8.1
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/services/tradesBlockService/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/diadata-org/diadata/services/tradesBlockService
go 1.17

require (
github.com/diadata-org/diadata v1.4.315-rc-2
github.com/diadata-org/diadata v1.4.317-rc-2
github.com/segmentio/kafka-go v0.4.35
github.com/sirupsen/logrus v1.8.1
)
Expand Down
15 changes: 15 additions & 0 deletions ibm_single_deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
dockerfile="Dockerfile-tradesBlockService"
imageName="tradesblockservice-test"
type="services"
version="v1.4.317-rc-2"

build_and_push() {
docker build -f "build/$1" -t "diadata.$2" .
docker tag "diadata.$2" "us.icr.io/dia-registry/$3/$2:latest"
docker push "us.icr.io/dia-registry/$3/$2:latest"

docker tag "diadata.$2" "us.icr.io/dia-registry/$3/$2:$version"
docker push "us.icr.io/dia-registry/$3/$2:$version"
}

build_and_push "$dockerfile" "$imageName" "$type"

0 comments on commit dd59306

Please sign in to comment.