mirror of
https://github.com/AthanorLabs/atomic-swap.git
synced 2026-01-09 14:18:03 -05:00
stagenet bootnode and docker updates (#473)
This commit is contained in:
@@ -6,8 +6,10 @@ IMAGE_NAME="atomic-swapd"
|
||||
# VERSION can be "latest", a release tag, a hash or a branch name that does not
|
||||
# contain slashes. The version must be pushed to github, local changes are not
|
||||
# seen. The variable both defines which version of the tools is go install'ed
|
||||
# inside the container, as well as the docker image tag.
|
||||
VERSION="latest"
|
||||
# inside the container, as well as the docker image tag. We dynamically grab the
|
||||
# latest tag from the current branch, as passing a specific version plays nicer
|
||||
# with docker's image caching.
|
||||
VERSION="$(git describe --abbrev=0 --tags)"
|
||||
|
||||
# Run docker build from the directory of this script
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
@@ -11,7 +11,7 @@ SWAPD_ETH_ENDPOINT="${SWAPD_ETH_ENDPOINT:-"https://rpc.sepolia.org/"}"
|
||||
# containers need to have a distinct mount dir.
|
||||
CONTAINER_NAME="${CONTAINER_NAME:-"swapd-${SWAPD_ENV}"}"
|
||||
IMAGE_NAME="atomic-swapd"
|
||||
VERSION="latest" # image tag
|
||||
VERSION="$(git describe --abbrev=0 --tags)" # image tag
|
||||
|
||||
# We mount one directory above what swapd considers its "data-dir". Data
|
||||
# files will be created in ${DATA_MOUNT_DIR}/${SWAPD_ENV}.
|
||||
|
||||
Reference in New Issue
Block a user