From d590dfd4eb5ea4301b7630cbf451276bfd5f28e5 Mon Sep 17 00:00:00 2001 From: galargh Date: Tue, 26 Mar 2024 15:18:23 +0000 Subject: [PATCH] ci: prevent duplicate release and docker publishing --- .github/workflows/docker.yml | 4 +++- .github/workflows/release.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 32595e87f20..c8e9dc88369 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -40,7 +40,9 @@ jobs: - image: lotus network: mainnet env: - PUBLISH: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }} + # Do not publish until CircleCI is deprecated + PUBLISH: false + # PUBLISH: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }} steps: - id: channel env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28789e78d61..4abc997fc0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,9 @@ jobs: runs-on: ubuntu-latest needs: [build] env: - PUBLISH: ${{ startsWith(github.ref, 'refs/tags/') }} + # Do not publish until CircleCI is deprecated + PUBLISH: false + # PUBLISH: ${{ startsWith(github.ref, 'refs/tags/') }} steps: - uses: actions/checkout@v4 with: