From dbbb9b7d4276da2516a913faf77f9da40eb3fec3 Mon Sep 17 00:00:00 2001 From: Bo Jeanes Date: Sun, 18 Sep 2022 13:58:36 +1000 Subject: [PATCH] Don't build docker images for branches unless PR --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 163b161..4e51772 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,8 @@ name: CI on: push: + tags-ignore: + - unstable pull_request: env: @@ -300,6 +302,7 @@ jobs: gzip: false docker: + if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' needs: - tests runs-on: ubuntu-latest