stagenet bootnode and docker updates (#473)

This commit is contained in:
Dmitry Holodov
2023-05-20 21:59:49 -05:00
committed by GitHub
parent 0ab11176c4
commit b5a83d5ee5
6 changed files with 18 additions and 12 deletions

View File

@@ -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")"

View File

@@ -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}.