From cd33fef132a31ded5ced28f190bf680b89258ad9 Mon Sep 17 00:00:00 2001 From: Leo Wu Date: Sat, 6 Apr 2024 01:08:37 +0800 Subject: [PATCH] Refined Docker build trigger branch The Docker build and push workflow has been adjusted to only trigger on pushes to the 'release' branch, removing the previous behavior of triggering on both 'main' and 'release' branches. This change streamlines our deployment process by ensuring Docker images are built only when necessary. --- .github/workflows/docker-push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docker-push.yaml b/.github/workflows/docker-push.yaml index 2f4cfe95..756d25d7 100644 --- a/.github/workflows/docker-push.yaml +++ b/.github/workflows/docker-push.yaml @@ -3,8 +3,7 @@ name: Docker build and push on: push: branches: - - main - - release + - 'release' env: PLATFORMS: ${{ vars.PLATFORMS || 'linux/amd64,linux/arm64' }}