diff --git a/.gitea/workflows/php-8.2.yaml b/.gitea/workflows/php-8.2.yaml index 076b1af..3a3f9ab 100644 --- a/.gitea/workflows/php-8.2.yaml +++ b/.gitea/workflows/php-8.2.yaml @@ -33,7 +33,7 @@ jobs: uses: https://git.kjan.de/actions/build-push-action@v5 with: context: ./images/actions/php-8.2 - push: true + push: ${{ github.ref == 'refs/heads/main' }} tags: | git.kjan.de/actions/php-8.2:latest git.kjan.de/actions/php-8.2:${{ gitea.run_number }}