From c36e287d71d68ecb2a45e9808eede15f19f931fb Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 28 Aug 2020 18:18:52 -0700 Subject: [PATCH] Don't deploy alpha/betas to Docker Hub Refs #956 --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e554eda..e538a463 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,6 +58,8 @@ jobs: deploy_docker: runs-on: ubuntu-latest needs: [deploy] + if: | + !(contains(github.ref, "a") || contains(github.ref, "b")) steps: - uses: actions/checkout@v2 - name: Build and push to Docker Hub