Skip to content

Commit

Permalink
Merge pull request #309 from 2opremio/fix-pipeline-build
Browse files Browse the repository at this point in the history
Use docker build TAG if supplied
  • Loading branch information
2opremio authored Oct 4, 2024
2 parents 953a504 + ed435e7 commit c244c4b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cmd/soroban-rpc/docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ endif
# Set default value for BINARY_NAME if not provided
BINARY_NAME ?= soroban-rpc

# Set the TAG based on the value of BINARY_NAME
ifeq ($(BINARY_NAME),stellar-rpc)
TAG := stellar/stellar-rpc:$(SOROBAN_RPC_VERSION_PACKAGE_VERSION)
else
TAG := stellar/stellar-soroban-rpc:$(SOROBAN_RPC_VERSION_PACKAGE_VERSION)
endif
ifndef TAG
# Set the TAG based on the value of BINARY_NAME
ifeq ($(BINARY_NAME),stellar-rpc)
TAG := stellar/stellar-rpc:$(SOROBAN_RPC_VERSION_PACKAGE_VERSION)
else
TAG := stellar/stellar-soroban-rpc:$(SOROBAN_RPC_VERSION_PACKAGE_VERSION)
endif
endif # TAG


docker-build:
Expand Down

0 comments on commit c244c4b

Please sign in to comment.