From 6b73b1372d809d15508fa3b2e3b021c11dad55dc Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 25 Jun 2023 22:43:31 +0200 Subject: [PATCH] push only if master --- .gitea/workflows/pynyaata.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pynyaata.yml b/.gitea/workflows/pynyaata.yml index 55365e6..47fea1d 100644 --- a/.gitea/workflows/pynyaata.yml +++ b/.gitea/workflows/pynyaata.yml @@ -30,7 +30,7 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - uses: https://github.com/docker/build-push-action@v4 with: - push: true + push: ${{ github.ref == 'refs/heads/master' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}