From 0b320faf348043f4c8f99aa212301b8e52e1c201 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Fri, 27 Aug 2021 21:10:13 -0700 Subject: [PATCH] github: fix running ci in version branches Signed-off-by: Tonis Tiigi (cherry picked from commit 9833420a03705919c483a240800ca41c16a1441c) --- .github/workflows/build.yml | 2 ++ .github/workflows/validate.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79d85a6f..eedf61f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,11 +5,13 @@ on: push: branches: - 'master' + - 'v[0-9]*' tags: - 'v*' pull_request: branches: - 'master' + - 'v[0-9]*' env: REPO_SLUG: "docker/buildx-bin" diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 02de4cd4..53e0774f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -5,11 +5,13 @@ on: push: branches: - 'master' + - 'v[0-9]*' tags: - 'v*' pull_request: branches: - 'master' + - 'v[0-9]*' env: REPO_SLUG_ORIGIN: "moby/buildkit:master"