chore: Add cargo release files
This commit is contained in:
parent
d973f330cb
commit
b0d448ab66
3 changed files with 91 additions and 2 deletions
|
|
@ -2,13 +2,15 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
VERSION=v0.7.0
|
||||
|
||||
# We use sudo for podman so that we can copy directly into /usr/local/bin
|
||||
|
||||
function cleanup() {
|
||||
echo "Cleaning up image"
|
||||
sudo podman stop -i -t 0 blue-build-installer
|
||||
sleep 2
|
||||
sudo podman image rm ghcr.io/blue-build/cli:latest-installer
|
||||
sudo podman image rm ghcr.io/blue-build/cli:${VERSION}-installer
|
||||
}
|
||||
|
||||
trap cleanup SIGINT
|
||||
|
|
@ -19,7 +21,7 @@ sudo podman run \
|
|||
--detach \
|
||||
--rm \
|
||||
--name blue-build-installer \
|
||||
ghcr.io/blue-build/cli:latest-installer \
|
||||
ghcr.io/blue-build/cli:${VERSION}-installer \
|
||||
tail -f /dev/null
|
||||
|
||||
set +e
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue