Skip to content

Commit

Permalink
Bump docker/build-push-action from 3 to 4 (#16641)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Feb 6, 2023
1 parent ce424d2 commit da7e38c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci-dockers-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
PYTHON_VERSION=${{ matrix.python_version }}
Expand All @@ -74,7 +74,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
PYTHON_VERSION=${{ matrix.python_version }}
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
PYTHON_VERSION=${{ matrix.python_version }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
PYTHON_VERSION=${{ matrix.python_version }}
Expand All @@ -159,7 +159,7 @@ jobs:
push: ${{ env.PUSH_NIGHTLY }}
tags: pytorchlightning/pytorch_lightning:base-ipu-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}
timeout-minutes: 100
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
PYTHON_VERSION=${{ matrix.python_version }}
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
build-args: |
DIST=latest
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
uses: actions/checkout@v3
- name: Build Conda Docker
# publish master/release
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
file: dockers/nvidia/Dockerfile
push: false
Expand All @@ -240,7 +240,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v4
with:
file: dockers/docs/Dockerfile
push: ${{ env.PUSH_NIGHTLY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT

- name: Publish Releases to Docker
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
repository: pytorchlightning/pytorch_lightning
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -45,7 +45,7 @@ jobs:
timeout-minutes: 55

- name: Publish Latest to Docker
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
# Only latest Python and PyTorch
if: matrix.python_version == '3.9' && matrix.pytorch_version == '1.13'
with:
Expand Down

0 comments on commit da7e38c

Please sign in to comment.