From dee920a840c85a7d5d7a63c0de6bf824a4b806b6 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 21 Dec 2024 15:49:45 +0100 Subject: [PATCH] Revert "build: skip Docker push for main, reserve for release" This reverts commit c2e10dc1567850f4c67c13db6fb26e4462ca544b. --- .github/workflows/build-syncthing.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index 1110cb4a7..9bbcc6ebe 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -843,7 +843,7 @@ jobs: docker-syncthing: name: Build and push Docker images runs-on: ubuntu-latest - if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')) + if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/infrastructure' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v')) environment: release permissions: contents: read