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