feat: updated structure for build and push in Justfile

This commit is contained in:
2026-03-08 16:29:12 +07:00
parent fe72b1b3e7
commit e3668ff862
2 changed files with 24 additions and 18 deletions

View File

@@ -33,6 +33,7 @@ jobs:
publish:
needs: test
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
strategy:
@@ -55,7 +56,13 @@ jobs:
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Push ${{ matrix.db }}
run: just push ${{ matrix.db }}
run: just push ${{ matrix.db }} ${{ env.VERSION }}
- name: Push latest ${{ matrix.db }}
run: just push ${{ matrix.db }} latest
- name: Cleanup ${{ matrix.db }}
run: just clean ${{ matrix.db }}
- name: Cleanup images ${{ matrix.db }}
run: just clean-images ${{ matrix.db }}