mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-12 06:46:25 +00:00
Merge pull request #82 from ethereum-optimism/jg/fix_release_script
Update ci-docker-tag-op-geth-release.sh
This commit is contained in:
commit
1ab789f1a9
@ -6,16 +6,8 @@ DOCKER_REPO=$1
|
||||
GIT_TAG=$2
|
||||
GIT_SHA=$3
|
||||
|
||||
IMAGE_NAME=$(echo "$GIT_TAG" | grep -Eow '^op-[a-z0-9\-]*' || true)
|
||||
if [ -z "$IMAGE_NAME" ]; then
|
||||
echo "image name could not be parsed from git tag '$GIT_TAG'"
|
||||
exit 1
|
||||
fi
|
||||
IMAGE_TAG=$(echo "$GIT_TAG" | grep -Eow 'v.*' || true)
|
||||
if [ -z "$IMAGE_TAG" ]; then
|
||||
echo "image tag could not be parsed from git tag '$GIT_TAG'"
|
||||
exit 1
|
||||
fi
|
||||
IMAGE_NAME="op-geth"
|
||||
IMAGE_TAG=$GIT_TAG
|
||||
|
||||
SOURCE_IMAGE_TAG="$DOCKER_REPO/$IMAGE_NAME:$GIT_SHA"
|
||||
TARGET_IMAGE_TAG="$DOCKER_REPO/$IMAGE_NAME:$IMAGE_TAG"
|
||||
|
Loading…
x
Reference in New Issue
Block a user