mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Added commands to justfile
This commit is contained in:
7
justfile
7
justfile
@@ -1,5 +1,6 @@
|
||||
update auto-rollback="false":
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
if [ ! -f update.lock ]; then
|
||||
touch update.lock
|
||||
just tag-version
|
||||
@@ -83,3 +84,9 @@ cleanup-versions:
|
||||
git tag -d $tag
|
||||
rm -f "versions/${tag#backup-}.txt"
|
||||
done
|
||||
|
||||
cleanup:
|
||||
docker container prune
|
||||
docker image prune
|
||||
docker builder prune -af
|
||||
cleanup-versions
|
||||
|
||||
Reference in New Issue
Block a user