on: [push] jobs: build-image: runs-on: shell steps: - uses: actions/checkout@v4 - run: cd ${{ env.GITHUB_WORKSPACE }} - run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }} - run: podman build . --no-cache --pull newer --squash-all -t docker://${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40 - run: podman image prune -f