From 0ad152fbfd3881e2dfb1e9b1eb385bedd1f382e9 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Fri, 7 Jul 2023 14:15:22 -0700 Subject: [PATCH] Revert "Rebuild docker images on release builds (#1451)" This reverts commit 2ba03df2f16a0209c89e01be7c7a7d7581938e5b. --- .github/workflows/build-conda-images.yml | 7 +------ .github/workflows/build-libtorch-images.yml | 7 +------ .github/workflows/build-manywheel-images.yml | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-conda-images.yml b/.github/workflows/build-conda-images.yml index 3fc26a69e..8a394e38f 100644 --- a/.github/workflows/build-conda-images.yml +++ b/.github/workflows/build-conda-images.yml @@ -4,11 +4,6 @@ on: push: branches: main - release/* - tags: - # NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds - # Release candidate tags look like: v1.11.0-rc1 - - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ paths: - conda/Dockerfile - 'common/*' @@ -24,7 +19,7 @@ env: DOCKER_BUILDKIT: 1 DOCKER_ID: ${{ secrets.DOCKER_ID }} DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} - WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }} + WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} jobs: build-docker: diff --git a/.github/workflows/build-libtorch-images.yml b/.github/workflows/build-libtorch-images.yml index a054cee53..a556a1bd6 100644 --- a/.github/workflows/build-libtorch-images.yml +++ b/.github/workflows/build-libtorch-images.yml @@ -4,11 +4,6 @@ on: push: branches: main - release/* - tags: - # NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds - # Release candidate tags look like: v1.11.0-rc1 - - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ paths: - .github/workflows/build-libtorch-images.yml - libtorch/Dockerfile @@ -26,7 +21,7 @@ env: DOCKER_BUILDKIT: 1 DOCKER_ID: ${{ secrets.DOCKER_ID }} DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} - WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }} + WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} jobs: build-docker-cuda: diff --git a/.github/workflows/build-manywheel-images.yml b/.github/workflows/build-manywheel-images.yml index bad940961..b9194a6d1 100644 --- a/.github/workflows/build-manywheel-images.yml +++ b/.github/workflows/build-manywheel-images.yml @@ -4,11 +4,6 @@ on: push: branches: main - release/* - tags: - # NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds - # Release candidate tags look like: v1.11.0-rc1 - - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ paths: - .github/workflows/build-manywheel-images.yml - manywheel/Dockerfile @@ -28,7 +23,7 @@ env: DOCKER_BUILDKIT: 1 DOCKER_ID: ${{ secrets.DOCKER_ID }} DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} - WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }} + WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} jobs: build-docker-cuda: