todo, rename cicd to ci, rm more stale images

main
bel 2023-10-29 10:19:40 -06:00
parent 8ae90619d2
commit f078a1e6a1
3 changed files with 5 additions and 3 deletions

View File

@ -8,12 +8,12 @@ on:
- 'src/**' - 'src/**'
jobs: jobs:
cicd: ci:
name: cicd name: ci
runs-on: dind runs-on: dind
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cicd - name: ci
run: | run: |
bash ./build/build.sh bash ./build/build.sh

View File

@ -10,4 +10,5 @@ now=$(docker inspect $img | jq -r .[0].Id | sed 's/^sha256://')
docker push $img docker push $img
if [ -n "$was" ] && [ "$was" != "$now" ] && docker inspect "$was" &> /dev/null; then if [ -n "$was" ] && [ "$was" != "$now" ] && docker inspect "$was" &> /dev/null; then
docker rmi "$was" || true docker rmi "$was" || true
docker rmi $(docker ps | grep ${img%:*} | grep '<none>' | awk '{print $3}') || true
fi fi

View File

@ -1,5 +1,6 @@
todo: todo:
- cd including run - cd including run
- clean ui for /transactions.html
scheduled: [] scheduled: []
done: done:
- todo: balances over time window - todo: balances over time window