From da7e38cd36eceffa519791d42da0be1d87c5e0b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 10:47:16 +0000 Subject: [PATCH] Bump docker/build-push-action from 3 to 4 (#16641) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci-dockers-pytorch.yml | 16 ++++++++-------- .github/workflows/release-docker.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci-dockers-pytorch.yml b/.github/workflows/ci-dockers-pytorch.yml index 1cd350d1d0076..a4992589bdbd3 100644 --- a/.github/workflows/ci-dockers-pytorch.yml +++ b/.github/workflows/ci-dockers-pytorch.yml @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 @@ -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 @@ -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 }} diff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.yml index 09941987c7dd3..2d899c03492d0 100644 --- a/.github/workflows/release-docker.yml +++ b/.github/workflows/release-docker.yml @@ -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 }} @@ -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: