Skip to content

Commit 0ad152f

Browse files
authored
Revert "Rebuild docker images on release builds (#1451)"
This reverts commit 2ba03df.
1 parent d4c3ff7 commit 0ad152f

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

.github/workflows/build-conda-images.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
main
7-
release/*
8-
tags:
9-
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
10-
# Release candidate tags look like: v1.11.0-rc1
11-
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
127
paths:
138
- conda/Dockerfile
149
- 'common/*'
@@ -24,7 +19,7 @@ env:
2419
DOCKER_BUILDKIT: 1
2520
DOCKER_ID: ${{ secrets.DOCKER_ID }}
2621
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
27-
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}
22+
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2823

2924
jobs:
3025
build-docker:

.github/workflows/build-libtorch-images.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
main
7-
release/*
8-
tags:
9-
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
10-
# Release candidate tags look like: v1.11.0-rc1
11-
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
127
paths:
138
- .github/workflows/build-libtorch-images.yml
149
- libtorch/Dockerfile
@@ -26,7 +21,7 @@ env:
2621
DOCKER_BUILDKIT: 1
2722
DOCKER_ID: ${{ secrets.DOCKER_ID }}
2823
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
29-
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}
24+
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3025

3126
jobs:
3227
build-docker-cuda:

.github/workflows/build-manywheel-images.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
main
7-
release/*
8-
tags:
9-
# NOTE: Binary build pipelines should only get triggered on release candidate or nightly builds
10-
# Release candidate tags look like: v1.11.0-rc1
11-
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
127
paths:
138
- .github/workflows/build-manywheel-images.yml
149
- manywheel/Dockerfile
@@ -28,7 +23,7 @@ env:
2823
DOCKER_BUILDKIT: 1
2924
DOCKER_ID: ${{ secrets.DOCKER_ID }}
3025
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
31-
WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }}
26+
WITH_PUSH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
3227

3328
jobs:
3429
build-docker-cuda:

0 commit comments

Comments
 (0)