File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ build TAG="1.0.0" VERSION="29.0" RELEASE="29.0": machine
144144 ENTRYPOINT ["tail", "-f", "/dev/null"]
145145 EOF
146146
147- image_exists=$(podman --connection sptabconf7 images --noheading -f reference=docker.io/nymius/sptabconf7:1.0.0 -f reference=localhost/regtest:1.0.0 --format 'table \{\{.ID\}\}')
147+ image_exists=$(podman --connection sptabconf7 images --noheading -f reference=docker.io/nymius/sptabconf7:{{TAG}} -f reference=localhost/regtest:{{TAG}} --format 'table \{\{.ID\}\}')
148148
149149 os=$(podman info --format json | jq -r '.host.os')
150150 arch=$(podman info --format json | jq -r '.host.arch')
@@ -156,7 +156,7 @@ build TAG="1.0.0" VERSION="29.0" RELEASE="29.0": machine
156156 target_arch="$aarch-linux-gnu" # podman setups a linux VM for us
157157 platform="linux/$aarch"
158158
159- pulled_blobs=$(podman --connection sptabconf7 pull --platform $platform docker://docker.io/nymius/sptabconf7:$arch-1.0.0 2>&1)
159+ pulled_blobs=$(podman --connection sptabconf7 pull --platform $platform docker://docker.io/nymius/sptabconf7:$arch-{{TAG}} 2>&1)
160160
161161 if [ $? -ne 0 ]; then
162162 echo "Image not found on registry"
@@ -217,7 +217,7 @@ startvm:
217217
218218[group("Podman")]
219219[doc("Start your podman machine and regtest environment")]
220- startcontainer: (create "false" "1.0.0")
220+ startcontainer FORCE= "false" TAG= "1.0.0": (create FORCE TAG )
221221 #!/usr/bin/env bash
222222 container_state=$(podman --connection sptabconf7 ps --format json | jq -r '.[] | select(.Names[] | contains("RegtestBitcoinEnv")) | .State')
223223 if [ "$container_state" = "running" ]; then
You can’t perform that action at this time.
0 commit comments