diff --git a/packages/relay/docker-build.sh b/packages/relay/docker-build.sh index ed7c83c1..ef8bc89e 100755 --- a/packages/relay/docker-build.sh +++ b/packages/relay/docker-build.sh @@ -1,6 +1,6 @@ #!/bin/bash -TAG_NANE="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short=6 HEAD)" +TAG_NANE="$(git rev-parse --short=12 HEAD)" echo "TAG_NANE=$TAG_NANE" docker build -t bosagora/acc-relay:"$TAG_NANE" -f Dockerfile --push . diff --git a/packages/relay/docker-buildx.sh b/packages/relay/docker-buildx.sh index 53d57d35..d04df15c 100755 --- a/packages/relay/docker-buildx.sh +++ b/packages/relay/docker-buildx.sh @@ -1,6 +1,6 @@ #!/bin/bash -TAG_NANE="$(git rev-parse --abbrev-ref HEAD)-$(git rev-parse --short=6 HEAD)" +TAG_NANE="$(git rev-parse --short=12 HEAD)" echo "TAG_NANE=$TAG_NANE" docker buildx build --platform=linux/amd64,linux/arm64 -t bosagora/acc-relay:"$TAG_NANE" -f Dockerfile --push .