1
0

bump charge (#452)

This commit is contained in:
Nicolas Dorier
2021-03-30 18:03:48 +09:00
committed by GitHub
parent 84ab8f7c67
commit 8a916b0d5c
4 changed files with 18 additions and 16 deletions

View File

@@ -292,7 +292,7 @@ namespace DockerFileBuildHelper
dockerInfo.DockerFilePathARM32v7 = "arm32v7.Dockerfile";
dockerInfo.DockerFilePathARM64v8 = "arm64v8.Dockerfile";
dockerInfo.GitLink = "https://github.com/ElementsProject/lightning-charge";
dockerInfo.GitRef = $"v{image.Tag.Replace("-standalone", "")}";
dockerInfo.GitRef = NoRevision($"v{image.Tag.Replace("-standalone", "")}");
dockerInfo.SupportedByUs = true;
break;
case "docker-bitcoinplus":

View File

@@ -78,18 +78,18 @@ cd - && cd ..
# Build lightning-charge
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.19/Dockerfile
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.23/Dockerfile
DOCKERFILE="Dockerfile"
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.19/arm32v7.Dockerfile
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.23/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="arm32v7.Dockerfile"
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.19/arm64v8.Dockerfile
# https://raw.githubusercontent.com/ElementsProject/lightning-charge/v0.4.23/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="arm64v8.Dockerfile"
echo "Building shesek/lightning-charge:0.4.19-standalone"
echo "Building shesek/lightning-charge:0.4.23-1-standalone"
git clone https://github.com/ElementsProject/lightning-charge lightning-charge
cd lightning-charge
git checkout v0.4.19
git checkout v0.4.23
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "shesek/lightning-charge:0.4.19-standalone" .
docker build -f "$DOCKERFILE" -t "shesek/lightning-charge:0.4.23-1-standalone" .
cd - && cd ..
@@ -556,18 +556,18 @@ cd - && cd ..
# Build btctransmuter
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/amd64.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.56/Dockerfiles/amd64.Dockerfile
DOCKERFILE="Dockerfiles/amd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/arm32v7.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.56/Dockerfiles/arm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Dockerfiles/arm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.55/Dockerfiles/arm64v8.Dockerfile
# https://raw.githubusercontent.com/btcpayserver/btctransmuter/v0.0.56/Dockerfiles/arm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Dockerfiles/arm64v8.Dockerfile"
echo "Building btcpayserver/btctransmuter:0.0.55"
echo "Building btcpayserver/btctransmuter:0.0.56"
git clone https://github.com/btcpayserver/btctransmuter btctransmuter
cd btctransmuter
git checkout v0.0.55
git checkout v0.0.56
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/btctransmuter:0.0.55" .
docker build -f "$DOCKERFILE" -t "btcpayserver/btctransmuter:0.0.56" .
cd - && cd ..