diff --git a/Dockerfile.buildx b/Dockerfile.buildx index 5ce5191..6e975ad 100644 --- a/Dockerfile.buildx +++ b/Dockerfile.buildx @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \ WORKDIR /work -RUN git clone -b v${VERSION} --single-branch --depth 1 https://github.com/Conflux-Chain/conflux-rust.git conflux +RUN git clone -b ${VERSION} --single-branch --depth 1 https://github.com/Conflux-Chain/conflux-rust.git conflux WORKDIR /work/conflux diff --git a/Dockerfile.dev.buildx b/Dockerfile.dev.buildx index 9481466..3692fd9 100644 --- a/Dockerfile.dev.buildx +++ b/Dockerfile.dev.buildx @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \ WORKDIR /work -RUN git clone -b v${VERSION} --single-branch --depth 1 https://github.com/Conflux-Chain/conflux-rust.git conflux +RUN git clone -b ${VERSION} --single-branch --depth 1 https://github.com/Conflux-Chain/conflux-rust.git conflux WORKDIR /work/conflux diff --git a/Makefile b/Makefile index 88f05e9..13ef1f2 100644 --- a/Makefile +++ b/Makefile @@ -38,20 +38,20 @@ download-binary: cp conflux-binary/run/conflux cfxrun/conflux buildx: - docker buildx build -f Dockerfile.buildx --platform=linux/arm64,linux/amd64 --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . + docker buildx build -f Dockerfile.buildx --platform=linux/arm64,linux/amd64 --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:${TAG} . buildx-load: - docker buildx build -f Dockerfile.buildx --load --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . + docker buildx build -f Dockerfile.buildx --load --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:v${TAG} . buildx-push: - docker buildx build -f Dockerfile.buildx --push --platform=linux/arm64,linux/amd64 --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . + docker buildx build -f Dockerfile.buildx --push --platform=linux/arm64,linux/amd64 --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:${TAG} . buildx-dev: - docker buildx build -f Dockerfile.dev.buildx --platform=linux/arm64,linux/amd64 --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . + docker buildx build -f Dockerfile.dev.buildx --platform=linux/arm64,linux/amd64 --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:${TAG} . buildx-dev-load: - docker buildx build -f Dockerfile.dev.buildx --load --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . + docker buildx build -f Dockerfile.dev.buildx --load --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:${TAG} . buildx-dev-push: - docker buildx build -f Dockerfile.dev.buildx --push --platform=linux/arm64,linux/amd64 --build-arg="VERSION=${TAG}" -t confluxchain/conflux-rust:${TAG} . \ No newline at end of file + docker buildx build -f Dockerfile.dev.buildx --push --platform=linux/arm64,linux/amd64 --build-arg="VERSION=v${TAG}" -t confluxchain/conflux-rust:${TAG} . \ No newline at end of file