From 641bada100a4434a236e6fabcf359ae024c76fde Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 16 Mar 2023 13:54:58 +0100 Subject: [PATCH] ignore dockerhub releases --- .github/workflows/production-release-dockerhub.yml | 5 +++-- .github/workflows/staging-release-dockerhub.yml | 2 +- .github/workflows/staging-release.yml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/production-release-dockerhub.yml b/.github/workflows/production-release-dockerhub.yml index 0ffe330eb7..1a1adaad4b 100644 --- a/.github/workflows/production-release-dockerhub.yml +++ b/.github/workflows/production-release-dockerhub.yml @@ -1,8 +1,9 @@ name: Production Release to DockerHub on: - release: - types: [released] + push: + branches: + - "this-branch-does-not-exists" jobs: arm64: diff --git a/.github/workflows/staging-release-dockerhub.yml b/.github/workflows/staging-release-dockerhub.yml index 36dd332cf9..111cd54a0b 100644 --- a/.github/workflows/staging-release-dockerhub.yml +++ b/.github/workflows/staging-release-dockerhub.yml @@ -3,7 +3,7 @@ name: Staging Release to DockerHub on: push: branches: - - "next" + - "this-branch-does-not-exists" jobs: arm64: diff --git a/.github/workflows/staging-release.yml b/.github/workflows/staging-release.yml index 56f8adfd21..db79024e62 100644 --- a/.github/workflows/staging-release.yml +++ b/.github/workflows/staging-release.yml @@ -4,8 +4,8 @@ concurrency: cancel-in-progress: true on: push: - branches-ignore: - - "main" + branches: + - "next" env: REGISTRY: ghcr.io IMAGE_NAME: "coollabsio/coolify"