add podman clearing before building

This commit is contained in:
skeris 2024-12-14 15:51:10 +03:00
parent cad835ea77
commit cb38e0d7e8

@ -34,5 +34,6 @@ jobs:
REPO=$(echo "$REPOSITORY" | tr '[:upper:]' '[:lower:]') && echo "REPOSITORY_LC=${REPO}" >>${GITEA_ENV}
env:
REPOSITORY: '${{ gitea.repository }}'
- run: podman system prune -a -f
- run: podman build -t gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }} .
- run: podman push gitea.pena/${{ env.REPOSITORY_LC }}/${{ gitea.ref_name }}:${{ gitea.run_id }}