All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 7m20s
14 lines
473 B
Bash
Executable File
14 lines
473 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Build latest image
|
|
podman build \
|
|
--no-cache \
|
|
-t gitea.reeseapps.com/services/arch-toolbox:latest \
|
|
-t gitea.reeseapps.com/services/arch-toolbox:$(date +%s) \
|
|
-f ./infrastructure/graduated/fedora/arch.containerfile
|
|
# Stop the current arch toolbox
|
|
podman container stop arch-toolbox-latest
|
|
# Remove the old container
|
|
podman container rm arch-toolbox-latest
|
|
# Start with the new image
|
|
toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest |