fix: Installer used wrong image tag
This commit is contained in:
parent
bf0479cc48
commit
f8dfc6b241
2 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ cargo install --locked blue-build
|
|||
This will install the binary on your system in `/usr/local/bin`. This is only a `linux-gnu` version.
|
||||
|
||||
```bash
|
||||
podman run --rm registry.gitlab.com/wunker-bunker/blue-build:installer | sudo bash
|
||||
podman run --rm registry.gitlab.com/wunker-bunker/blue-build:latest-installer | sudo bash
|
||||
```
|
||||
|
||||
## How to use
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ function cleanup() {
|
|||
echo "Cleaning up image"
|
||||
podman stop -i -t 0 blue-build-installer
|
||||
sleep 2
|
||||
podman image rm registry.gitlab.com/wunker-bunker/blue-build:installer
|
||||
podman image rm registry.gitlab.com/wunker-bunker/blue-build:latest-installer
|
||||
}
|
||||
|
||||
podman pull registry.gitlab.com/wunker-bunker/blue-build:installer
|
||||
podman pull registry.gitlab.com/wunker-bunker/blue-build:latest-installer
|
||||
|
||||
podman run -d --rm --name blue-build-installer registry.gitlab.com/wunker-bunker/blue-build:installer tail -f /dev/null
|
||||
podman run -d --rm --name blue-build-installer registry.gitlab.com/wunker-bunker/blue-build:latest-installer tail -f /dev/null
|
||||
|
||||
set +e
|
||||
podman cp blue-build-installer:/out/bb /usr/local/bin/bb
|
||||
|
|
@ -22,7 +22,7 @@ set -e
|
|||
if [ -n $RETVAL ]; then
|
||||
cleanup
|
||||
echo "Failed to copy file, try:"
|
||||
printf "\tpodman run --rm registry.gitlab.com/wunker-bunker/blue-build:installer | sudo bash\n"
|
||||
printf "\tpodman run --rm registry.gitlab.com/wunker-bunker/blue-build:latest-installer | sudo bash\n"
|
||||
exit 1
|
||||
else
|
||||
cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue